navidved commited on
Commit
fb027f5
·
verified ·
1 Parent(s): d2d0553

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -23,8 +23,8 @@ def transcribe_audio(file):
23
  # Set up the Gradio interface
24
  gr.Interface(
25
  fn=transcribe_audio,
26
- inputs=gr.Audio(source="upload", type="file"),
27
  outputs="text",
28
- title="Gooya v1 Persian Speech Recognition",
29
- description="Upload an audio file in Persian, and this model will transcribe it."
30
  ).launch()
 
23
  # Set up the Gradio interface
24
  gr.Interface(
25
  fn=transcribe_audio,
26
+ inputs=gr.Audio(type="file"), # Updated here
27
  outputs="text",
28
+ title="Persian ASR Transcription",
29
+ description="Upload an audio file in Persian, and this app will transcribe it."
30
  ).launch()