Update app.py
Browse files
app.py
CHANGED
@@ -219,8 +219,9 @@ interface = gr.Interface(
|
|
219 |
fn=process_audio_query,
|
220 |
inputs=gr.Audio(sources="microphone", type="numpy",streaming=True),
|
221 |
outputs=gr.Audio(type="filepath", autoplay=True,interactive=False),
|
|
|
222 |
description="Ask questions via audio and receive audio responses.",
|
223 |
-
|
224 |
)
|
225 |
|
226 |
# Launch the Gradio app
|
|
|
219 |
fn=process_audio_query,
|
220 |
inputs=gr.Audio(sources="microphone", type="numpy",streaming=True),
|
221 |
outputs=gr.Audio(type="filepath", autoplay=True,interactive=False),
|
222 |
+
live=True,
|
223 |
description="Ask questions via audio and receive audio responses.",
|
224 |
+
allow_flagging="never" # Disables the Clear button
|
225 |
)
|
226 |
|
227 |
# Launch the Gradio app
|