Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -50,6 +50,7 @@ with gr.Blocks() as chat_interface:
|
|
50 |
return chat_with_buddy(chat_history, user_message), ""
|
51 |
|
52 |
# Link the submit button to the function
|
|
|
53 |
submit_button.click(submit, inputs=[message, chatbot], outputs=[chatbot, message])
|
54 |
|
55 |
# Launch the chat interface
|
|
|
50 |
return chat_with_buddy(chat_history, user_message), ""
|
51 |
|
52 |
# Link the submit button to the function
|
53 |
+
message.submit(submit, inputs=[message, chatbot], outputs=[chatbot, message])
|
54 |
submit_button.click(submit, inputs=[message, chatbot], outputs=[chatbot, message])
|
55 |
|
56 |
# Launch the chat interface
|