Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,7 @@ with gr.Blocks() as demo:
|
|
100 |
submit = gr.Button(chatbot_submit_button, variant="primary")
|
101 |
|
102 |
# Define button click actions
|
103 |
-
submit.click(fn=
|
104 |
reset.click(fn=reset_output, inputs=None, outputs=output)
|
105 |
|
106 |
# Enable "Enter" key to submit
|
|
|
100 |
submit = gr.Button(chatbot_submit_button, variant="primary")
|
101 |
|
102 |
# Define button click actions
|
103 |
+
submit.click(fn=chat_interaction, inputs=user_input, outputs=output)
|
104 |
reset.click(fn=reset_output, inputs=None, outputs=output)
|
105 |
|
106 |
# Enable "Enter" key to submit
|