Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -223,7 +223,7 @@ def on_submit(audio_input):
|
|
223 |
|
224 |
# Create Gradio interface for audio input, submit button, and output
|
225 |
with gr.Blocks() as interface:
|
226 |
-
audio_input = gr.Audio(
|
227 |
submit_button = gr.Button("Submit")
|
228 |
audio_output = gr.Audio(type="filepath", autoplay=True)
|
229 |
|
|
|
223 |
|
224 |
# Create Gradio interface for audio input, submit button, and output
|
225 |
with gr.Blocks() as interface:
|
226 |
+
audio_input = gr.Audio(sources="microphone", type="numpy", streaming=True)
|
227 |
submit_button = gr.Button("Submit")
|
228 |
audio_output = gr.Audio(type="filepath", autoplay=True)
|
229 |
|