Upload folder using huggingface_hub
Browse files
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}
|
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(
|