Spaces:
Sleeping
Sleeping
juliuserictuliao
commited on
Update app.py
Browse files
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(
|
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",
|