Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -183,7 +183,7 @@ with gr.Blocks() as demo:
|
|
| 183 |
submit_btn = gr.Button("🚀 Send an input file to LLM")
|
| 184 |
|
| 185 |
with gr.Row():
|
| 186 |
-
audio_upload = gr.Audio(
|
| 187 |
submit_audio_btn = gr.Button("🎙️ Send an audio")
|
| 188 |
|
| 189 |
submit_btn.click(predict, [query, chatbot, task_history], [chatbot], show_progress=True)
|
|
|
|
| 183 |
submit_btn = gr.Button("🚀 Send an input file to LLM")
|
| 184 |
|
| 185 |
with gr.Row():
|
| 186 |
+
audio_upload = gr.Audio(sources="microphone", type="filepath", show_label=False)
|
| 187 |
submit_audio_btn = gr.Button("🎙️ Send an audio")
|
| 188 |
|
| 189 |
submit_btn.click(predict, [query, chatbot, task_history], [chatbot], show_progress=True)
|