rwitz commited on
Commit
8c00211
·
1 Parent(s): 9376219

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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['output'])
88
 
89
  chatbot2.append("User: " + user_input)
90
- chatbot2.append("Bot 2: " + bot2_response['output'])
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