Hunzla commited on
Commit
206f43e
1 Parent(s): 5a79234

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def transcribe_the_command(audio_path,state):
32
  import gradio as gr
33
  iface = gr.Interface(
34
  fn=transcribe_the_command,
35
- inputs=[gr.Textbox(),gr.Textbox()],
36
  outputs="text",
37
  title="Whisper Small",
38
  description="Realtime demo for intent recognition using a Whisper small model.",
 
32
  import gradio as gr
33
  iface = gr.Interface(
34
  fn=transcribe_the_command,
35
+ inputs=[gr.Audio(source="microphone"),gr.Textbox()],
36
  outputs="text",
37
  title="Whisper Small",
38
  description="Realtime demo for intent recognition using a Whisper small model.",