Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def vote_down_model(state, chatbot):
|
|
81 |
return chatbot
|
82 |
def user_ask(state, chatbot1, chatbot2, textbox, upvote_btn_a, upvote_btn_b):
|
83 |
user_input = textbox
|
84 |
-
bot1_response, bot2_response = chat_with_bots(user_input)
|
85 |
|
86 |
chatbot1.append("User: " + user_input)
|
87 |
chatbot1.append("Bot 1: " + bot1_response)
|
|
|
81 |
return chatbot
|
82 |
def user_ask(state, chatbot1, chatbot2, textbox, 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: " + user_input)
|
87 |
chatbot1.append("Bot 1: " + bot1_response)
|