juliuserictuliao commited on
Commit
f2e4070
·
verified ·
1 Parent(s): 1998cc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def real_time_asr(audio, state=""):
39
  # Create the Gradio interface
40
  iface = gr.Interface(
41
  fn=real_time_asr,
42
- inputs=[gr.Audio(source="microphone", streaming=True), gr.State()],
43
  outputs=[gr.Textbox(), gr.State()],
44
  live=True,
45
  title="Real-Time ASR using Wav2Vec 2.0",
 
39
  # Create the Gradio interface
40
  iface = gr.Interface(
41
  fn=real_time_asr,
42
+ inputs=[gr.Audio(streaming=True), gr.State()],
43
  outputs=[gr.Textbox(), gr.State()],
44
  live=True,
45
  title="Real-Time ASR using Wav2Vec 2.0",