Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.",
|