chibop commited on
Commit
f8e9ce0
·
verified ·
1 Parent(s): 93d9045

Upload folder using huggingface_hub

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