Eniola Alese
commited on
Commit
Β·
189641a
1
Parent(s):
6a4f073
update app
Browse files
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(
|
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)
|