Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ import gradio as gr
|
|
99 |
|
100 |
iface = gr.Interface(
|
101 |
fn=transcribe_the_command,
|
102 |
-
inputs=[gr.inputs.Audio(label="Recorded Audio",source="microphone"),gr.inputs.Textbox(label="id")
|
103 |
outputs="text",
|
104 |
title="Whisper Small Urdu Command",
|
105 |
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.",
|
|
|
99 |
|
100 |
iface = gr.Interface(
|
101 |
fn=transcribe_the_command,
|
102 |
+
inputs=[gr.inputs.Audio(label="Recorded Audio",source="microphone"),gr.inputs.Textbox(label="id"),gr.inputs.Textbox(label="col_name(optional)")],
|
103 |
outputs="text",
|
104 |
title="Whisper Small Urdu Command",
|
105 |
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.",
|