Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ with gr.Blocks(css_paths="_custom.css") as demo:
|
|
73 |
chatbot = gr.Chatbot(type="messages")
|
74 |
chat_input = gr.Textbox(placeholder="Sende eine Nachricht...", lines=1, max_lines=6, show_label=False, elem_id="chat_input")
|
75 |
audio_tts_checkbox = gr.Checkbox(label="Audio Antwort generieren?", value=False, elem_classes="toggle-btn")
|
76 |
-
submit_btn = gr.Button("Senden"
|
77 |
submit_btn.click(bot, [chat_input, chatbot, audio_tts_checkbox], [chat_input, chatbot, audio_tts_checkbox], api_name="llm_submit")
|
78 |
chat_input.submit(bot, [chat_input, chatbot, audio_tts_checkbox], [chat_input, chatbot, audio_tts_checkbox], api_name="llm")
|
79 |
|
|
|
73 |
chatbot = gr.Chatbot(type="messages")
|
74 |
chat_input = gr.Textbox(placeholder="Sende eine Nachricht...", lines=1, max_lines=6, show_label=False, elem_id="chat_input")
|
75 |
audio_tts_checkbox = gr.Checkbox(label="Audio Antwort generieren?", value=False, elem_classes="toggle-btn")
|
76 |
+
submit_btn = gr.Button("Senden")
|
77 |
submit_btn.click(bot, [chat_input, chatbot, audio_tts_checkbox], [chat_input, chatbot, audio_tts_checkbox], api_name="llm_submit")
|
78 |
chat_input.submit(bot, [chat_input, chatbot, audio_tts_checkbox], [chat_input, chatbot, audio_tts_checkbox], api_name="llm")
|
79 |
|