Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -83,9 +83,9 @@ def user_ask(state, chatbot1, chatbot2, textbox):
|
|
83 |
user_input = textbox
|
84 |
bot1_response, bot2_response = chat_with_bots(user_input, state)
|
85 |
|
86 |
-
chatbot1.append(user_input,bot1_response)
|
87 |
|
88 |
-
chatbot2.append(user_input, bot2_response)
|
89 |
|
90 |
# Enable voting buttons
|
91 |
global upvote_btn_a,upvote_btn_b
|
|
|
83 |
user_input = textbox
|
84 |
bot1_response, bot2_response = chat_with_bots(user_input, state)
|
85 |
|
86 |
+
chatbot1.append((user_input,bot1_response))
|
87 |
|
88 |
+
chatbot2.append((user_input, bot2_response))
|
89 |
|
90 |
# Enable voting buttons
|
91 |
global upvote_btn_a,upvote_btn_b
|