Pijush2023 commited on
Commit
7383974
·
verified ·
1 Parent(s): a54b7bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- #allow_flagging="never" # Disables the Clear button
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