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