Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -185,7 +185,7 @@ with gr.Blocks() as demo:
|
|
185 |
audio_upload = gr.Audio(sources="microphone", type="filepath", show_label=False)
|
186 |
submit_audio_btn = gr.Button("🎙️ Send an audio")
|
187 |
|
188 |
-
submit_btn.click(predict, [query, chatbot, task_history], [chatbot], show_progress=True)
|
189 |
submit_audio_btn.click(predict, [audio_upload, chatbot, task_history], [chatbot], show_progress=True).then(update_audio, chatbot, audio_output)
|
190 |
|
191 |
demo.queue().launch()
|
|
|
185 |
audio_upload = gr.Audio(sources="microphone", type="filepath", show_label=False)
|
186 |
submit_audio_btn = gr.Button("🎙️ Send an audio")
|
187 |
|
188 |
+
#submit_btn.click(predict, [query, chatbot, task_history], [chatbot], show_progress=True)
|
189 |
submit_audio_btn.click(predict, [audio_upload, chatbot, task_history], [chatbot], show_progress=True).then(update_audio, chatbot, audio_output)
|
190 |
|
191 |
demo.queue().launch()
|