rwitz commited on
Commit
b40c8c7
·
1 Parent(s): 3421166

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)