juliuserictuliao commited on
Commit
f83c1dd
·
verified ·
1 Parent(s): 28cd99e

Update app.py

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