Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -84,10 +84,10 @@ def user_ask(state, chatbot1, chatbot2, textbox, upvote_btn_a, upvote_btn_b):
|
|
84 |
bot1_response, bot2_response = chat_with_bots(user_input)
|
85 |
|
86 |
chatbot1.append("User: " + user_input)
|
87 |
-
chatbot1.append("Bot 1: " + bot1_response
|
88 |
|
89 |
chatbot2.append("User: " + user_input)
|
90 |
-
chatbot2.append("Bot 2: " + bot2_response
|
91 |
|
92 |
state['last_bots'] = [bot1_response['model_name'], bot2_response['model_name']]
|
93 |
|
|
|
84 |
bot1_response, bot2_response = chat_with_bots(user_input)
|
85 |
|
86 |
chatbot1.append("User: " + user_input)
|
87 |
+
chatbot1.append("Bot 1: " + bot1_response)
|
88 |
|
89 |
chatbot2.append("User: " + user_input)
|
90 |
+
chatbot2.append("Bot 2: " + bot2_response)
|
91 |
|
92 |
state['last_bots'] = [bot1_response['model_name'], bot2_response['model_name']]
|
93 |
|