Spaces:
Sleeping
Sleeping
Update utils/chatbot_interface2.py
Browse files
utils/chatbot_interface2.py
CHANGED
@@ -163,12 +163,12 @@ class ChatbotInterface:
|
|
163 |
|
164 |
# Button actions
|
165 |
submit.click(
|
166 |
-
fn=self.process_input
|
167 |
inputs=[user_input, chatbot_output],
|
168 |
outputs=[chatbot_output, user_input]
|
169 |
)
|
170 |
user_input.submit(
|
171 |
-
fn=self.process_input
|
172 |
inputs=[user_input, chatbot_output],
|
173 |
outputs=[chatbot_output, user_input]
|
174 |
)
|
|
|
163 |
|
164 |
# Button actions
|
165 |
submit.click(
|
166 |
+
fn=self.process_input,#generate_response,
|
167 |
inputs=[user_input, chatbot_output],
|
168 |
outputs=[chatbot_output, user_input]
|
169 |
)
|
170 |
user_input.submit(
|
171 |
+
fn=self.process_input,#generate_response,
|
172 |
inputs=[user_input, chatbot_output],
|
173 |
outputs=[chatbot_output, user_input]
|
174 |
)
|