Hunzla commited on
Commit
83d70c9
1 Parent(s): e50170f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ import gradio as gr
69
 
70
  iface = gr.Interface(
71
  fn=transcribe_the_command,
72
- inputs=gr.inputs.Audio(label="Recorded Audio",source="microphone"),
73
  outputs="text",
74
  title="Whisper Small Urdu Command",
75
  description="Realtime demo for Urdu speech recognition using a fine-tuned Whisper small model and outputting the estimated command on the basis of speech transcript.",
 
69
 
70
  iface = gr.Interface(
71
  fn=transcribe_the_command,
72
+ inputs=gr.inputs.Audio(label="Recorded Audio",source="microphone", duration=6),
73
  outputs="text",
74
  title="Whisper Small Urdu Command",
75
  description="Realtime demo for Urdu speech recognition using a fine-tuned Whisper small model and outputting the estimated command on the basis of speech transcript.",