chibop commited on
Commit
6b067d1
·
verified ·
1 Parent(s): 5418c20

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. chat.py +1 -1
chat.py CHANGED
@@ -94,7 +94,7 @@ def main():
94
  speech.click(None, js=toggle_js)
95
  msg = gr.Textbox(label="Say something.", elem_id="textbox")
96
  mic = gr.Microphone(type="filepath", format="mp3", editable=False, waveform_options={"show_controls": False}, visible=False)
97
- player = gr.Audio(autoplay=True, editable=False, waveform_options={"show_controls": False})
98
  msg.submit(user, [msg, mic, chatbot, thread], [msg, chatbot]).then(
99
  bot, [chatbot, thread], chatbot).then(
100
  speak, chatbot, player
 
94
  speech.click(None, js=toggle_js)
95
  msg = gr.Textbox(label="Say something.", elem_id="textbox")
96
  mic = gr.Microphone(type="filepath", format="mp3", editable=False, waveform_options={"show_controls": False}, visible=False)
97
+ player = gr.Audio(autoplay=True, editable=False, waveform_options={"show_controls": False}, visible=False)
98
  msg.submit(user, [msg, mic, chatbot, thread], [msg, chatbot]).then(
99
  bot, [chatbot, thread], chatbot).then(
100
  speak, chatbot, player