rafaa commited on
Commit
d8f040b
·
verified ·
1 Parent(s): d826ddb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -172,8 +172,7 @@ with gr.ChatInterface(
172
  undo_btn=None,
173
  additional_inputs=[passwordInput],
174
  ) as chat:
175
- audioBlock = gr.Audio(autoplay=True, interactive=False, live=True)
176
- audioBlock.value = lastAudio
177
 
178
 
179
  chat.launch(show_api=False)
 
172
  undo_btn=None,
173
  additional_inputs=[passwordInput],
174
  ) as chat:
175
+ audioBlock = gr.Audio(value=lastAudio, autoplay=True, interactive=False)
 
176
 
177
 
178
  chat.launch(show_api=False)