Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -543,7 +543,7 @@ with gr.Blocks(
|
|
543 |
gr.Markdown(learn_more_markdown)
|
544 |
gr.Markdown(bibtext)
|
545 |
|
546 |
-
|
547 |
add_message, [chatbot, chat_input], [chatbot, chat_input]
|
548 |
).then(bot, [chatbot, temperature, top_p, max_output_tokens], chatbot, api_name="bot_response").then(lambda: gr.MultimodalTextbox(interactive=True), None, [chat_input])
|
549 |
|
|
|
543 |
gr.Markdown(learn_more_markdown)
|
544 |
gr.Markdown(bibtext)
|
545 |
|
546 |
+
chat_input.submit(
|
547 |
add_message, [chatbot, chat_input], [chatbot, chat_input]
|
548 |
).then(bot, [chatbot, temperature, top_p, max_output_tokens], chatbot, api_name="bot_response").then(lambda: gr.MultimodalTextbox(interactive=True), None, [chat_input])
|
549 |
|