chibop commited on
Commit
58380e6
·
verified ·
1 Parent(s): 2781a45

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. chat.py +0 -1
chat.py CHANGED
@@ -92,7 +92,6 @@ with gr.Blocks(title="Paitient Sim", css=css) as demo:
92
  mic = gr.Microphone(type="filepath", format="mp3", editable=False, waveform_options={"show_controls": False}, visible=False)
93
  thread = gr.State(start_thread)
94
  audio_html = gr.HTML(visible=True)
95
- audio_html.visible = False
96
  msg.submit(user, [msg, mic, chatbot, thread], [msg, chatbot], queue=False).then(
97
  bot, [chatbot, thread], chatbot
98
  ).then(
 
92
  mic = gr.Microphone(type="filepath", format="mp3", editable=False, waveform_options={"show_controls": False}, visible=False)
93
  thread = gr.State(start_thread)
94
  audio_html = gr.HTML(visible=True)
 
95
  msg.submit(user, [msg, mic, chatbot, thread], [msg, chatbot], queue=False).then(
96
  bot, [chatbot, thread], chatbot
97
  ).then(