chibop commited on
Commit
e213f4b
·
verified ·
1 Parent(s): 7dbb133

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. chat.py +1 -1
chat.py CHANGED
@@ -101,7 +101,7 @@ with gr.Blocks(title="Paitient Sim", css=css) as demo:
101
  mic.stop_recording(user, [msg, mic, chatbot, thread], [msg, chatbot], queue=False).then(
102
  lambda:None, None, mic, queue=False).then(
103
  bot, [chatbot, thread], chatbot).then(
104
- speak, chatbot, audio_html)
105
 
106
  demo.queue()
107
  demo.launch(auth=login)
 
101
  mic.stop_recording(user, [msg, mic, chatbot, thread], [msg, chatbot], queue=False).then(
102
  lambda:None, None, mic, queue=False).then(
103
  bot, [chatbot, thread], chatbot).then(
104
+ speak, chatbot, "audio")
105
 
106
  demo.queue()
107
  demo.launch(auth=login)