chibop commited on
Commit
982b944
·
verified ·
1 Parent(s): 47e7313

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. chat.py +1 -1
chat.py CHANGED
@@ -97,7 +97,7 @@ def main():
97
  mic = gr.Microphone(type="filepath", format="mp3", editable=False, waveform_options={"show_controls": False}, visible=False)
98
  thread = gr.State(start_thread)
99
  audio_html = gr.HTML(visible=False)
100
- player = gr.Audio(autoplay=True, format="mp3", editable=False, waveform_options={"show_controls": False})
101
 
102
  msg.submit(user, [msg, mic, chatbot, thread], [msg, chatbot]).then(
103
  bot, [chatbot, thread], chatbot).then(
 
97
  mic = gr.Microphone(type="filepath", format="mp3", editable=False, waveform_options={"show_controls": False}, visible=False)
98
  thread = gr.State(start_thread)
99
  audio_html = gr.HTML(visible=False)
100
+ player = gr.Audio(autoplay=True, editable=False, waveform_options={"show_controls": False})
101
 
102
  msg.submit(user, [msg, mic, chatbot, thread], [msg, chatbot]).then(
103
  bot, [chatbot, thread], chatbot).then(