Eniola Alese commited on
Commit
189641a
1 Parent(s): 6a4f073

update app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -177,5 +177,5 @@ with gr.Blocks(title="Voice chat with LLM") as demo:
177
  - Responses generated by chat model should not be assumed correct or taken serious, as this is a demonstration example only
178
  - iOS (Iphone/Ipad) devices may not experience voice due to autoplay being disabled on these devices by Vendor"""
179
  gr.Markdown(FOOTNOTE)
180
- demo.load(block=None, fn=generate_speech, inputs=[chatbot,chatbot_voice, gr.State(value=True)], outputs=[sentence, chatbot, audio_playback])
181
  demo.queue().launch(debug=True,share=True)
 
177
  - Responses generated by chat model should not be assumed correct or taken serious, as this is a demonstration example only
178
  - iOS (Iphone/Ipad) devices may not experience voice due to autoplay being disabled on these devices by Vendor"""
179
  gr.Markdown(FOOTNOTE)
180
+ demo.load(fn=generate_speech, inputs=[chatbot,chatbot_voice, gr.State(value=True)], outputs=[sentence, chatbot, audio_playback])
181
  demo.queue().launch(debug=True,share=True)