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