Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ with gr.Blocks() as demo:
|
|
39 |
clear_button = gr.Button("Chat löschen")
|
40 |
|
41 |
send_button.click(chat, [text_input, state], [state, chatbot])
|
42 |
-
audio_input.
|
43 |
clear_button.click(lambda: [], outputs=[chatbot])
|
44 |
text_input.submit(chat, [text_input, state], [state, chatbot])
|
45 |
|
|
|
39 |
clear_button = gr.Button("Chat löschen")
|
40 |
|
41 |
send_button.click(chat, [text_input, state], [state, chatbot])
|
42 |
+
audio_input.submit(transcribe_and_send, [audio_input, state], [state, chatbot])
|
43 |
clear_button.click(lambda: [], outputs=[chatbot])
|
44 |
text_input.submit(chat, [text_input, state], [state, chatbot])
|
45 |
|