Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|