Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ import gradio as gr
|
|
51 |
|
52 |
iface = gr.Interface(
|
53 |
fn=transcribe_the_command,
|
54 |
-
inputs=[gr.inputs.Audio(label="Recorded Audio",source="microphone"),"abc"],
|
55 |
outputs="text",
|
56 |
title="Whisper Small Urdu Command",
|
57 |
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.",
|
|
|
51 |
|
52 |
iface = gr.Interface(
|
53 |
fn=transcribe_the_command,
|
54 |
+
inputs=[gr.inputs.Audio(label="Recorded Audio",source="microphone"),gr.inputs.Textbox(label="abc")],
|
55 |
outputs="text",
|
56 |
title="Whisper Small Urdu Command",
|
57 |
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.",
|