nagasurendra commited on
Commit
da1755e
·
verified ·
1 Parent(s): 78a3b91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -98,9 +98,10 @@ with gr.Blocks() as demo:
98
  gr.Markdown("Note: The audio will play automatically.")
99
 
100
  with gr.Row():
101
- audio_output = gr.Audio(label="Audio Response")
102
 
103
  voice_input.change(run_voice_assistant, inputs=voice_input, outputs=[assistant_response, audio_output])
 
104
  gr.HTML(javascript_autoplay())
105
 
106
  demo.launch()
 
98
  gr.Markdown("Note: The audio will play automatically.")
99
 
100
  with gr.Row():
101
+ audio_output = gr.Audio(label="Audio Response", autoplay=True)
102
 
103
  voice_input.change(run_voice_assistant, inputs=voice_input, outputs=[assistant_response, audio_output])
104
+
105
  gr.HTML(javascript_autoplay())
106
 
107
  demo.launch()