Spaces:
Sleeping
Sleeping
John Langley
commited on
Commit
·
339e247
1
Parent(s):
a121558
change to GPU
Browse files
app.py
CHANGED
@@ -102,7 +102,7 @@ async def create_demo():
|
|
102 |
).then(fn=respond, inputs=[chatbot, voice], outputs=[chatbot, ai_response]).then(fn=tts_interface, inputs=[ai_response, voice], outputs=[audio_playback])
|
103 |
|
104 |
submit_button.click(fn=add_text, inputs=[chatbot, user_msg], outputs=[chatbot, user_msg], queue=False
|
105 |
-
).then(fn=respond, inputs=[chatbot, voice], outputs=[chatbot, ai_response])
|
106 |
|
107 |
|
108 |
return demo
|
|
|
102 |
).then(fn=respond, inputs=[chatbot, voice], outputs=[chatbot, ai_response]).then(fn=tts_interface, inputs=[ai_response, voice], outputs=[audio_playback])
|
103 |
|
104 |
submit_button.click(fn=add_text, inputs=[chatbot, user_msg], outputs=[chatbot, user_msg], queue=False
|
105 |
+
).then(fn=respond, inputs=[chatbot, voice], outputs=[chatbot, ai_response]) #.then(fn=tts_interface, inputs=[ai_response, voice], outputs=[audio_playback])
|
106 |
|
107 |
|
108 |
return demo
|