Hunzla commited on
Commit
eb9f081
1 Parent(s): abf52bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Textbox(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.",
 
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.",