Update app.py
Browse files
app.py
CHANGED
|
@@ -413,7 +413,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {background-color:
|
|
| 413 |
send_button = gr.Button("🚀 Envoyer", variant="primary")
|
| 414 |
|
| 415 |
response_audio = gr.Audio(label="🔊 Réponse audio", interactive=False)
|
| 416 |
-
audio_input.change(fn=chatbot_with_voice,inputs=[audio_input
|
| 417 |
|
| 418 |
# -- Bloc 2 - ID Extraction
|
| 419 |
with gr.Column(visible=False) as id_extraction_block:
|
|
|
|
| 413 |
send_button = gr.Button("🚀 Envoyer", variant="primary")
|
| 414 |
|
| 415 |
response_audio = gr.Audio(label="🔊 Réponse audio", interactive=False)
|
| 416 |
+
audio_input.change(fn=chatbot_with_voice,inputs=[audio_input],outputs=[chatbot, message_input, response_audio])
|
| 417 |
|
| 418 |
# -- Bloc 2 - ID Extraction
|
| 419 |
with gr.Column(visible=False) as id_extraction_block:
|