Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -214,7 +214,7 @@ def process_audio_query(audio_input):
|
|
214 |
# Create Gradio interface for audio input and output
|
215 |
interface = gr.Interface(
|
216 |
fn=process_audio_query,
|
217 |
-
inputs=gr.Audio(sources="microphone", type="numpy"),
|
218 |
outputs=gr.Audio(type="filepath", autoplay=True),
|
219 |
live=True,
|
220 |
description="Ask questions via audio and receive audio responses.",
|
|
|
214 |
# Create Gradio interface for audio input and output
|
215 |
interface = gr.Interface(
|
216 |
fn=process_audio_query,
|
217 |
+
inputs=gr.Audio(sources="microphone", type="numpy",streaming=True),
|
218 |
outputs=gr.Audio(type="filepath", autoplay=True),
|
219 |
live=True,
|
220 |
description="Ask questions via audio and receive audio responses.",
|