rwitz commited on
Commit
a2df623
1 Parent(s): 537a460

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -90,8 +90,8 @@ def user_ask(state, chatbot1, chatbot2, textbox):
90
 
91
  # Updating state with the current ELO ratings
92
  state["elo_ratings"] = read_elo_ratings()
93
- state["history"].extend([
94
- {"role": "user", "content": user_input})
95
  # Chat with bots
96
  bot1_response, bot2_response = chat_with_bots(user_input, state)
97
 
 
90
 
91
  # Updating state with the current ELO ratings
92
  state["elo_ratings"] = read_elo_ratings()
93
+ state["history"].extend([]
94
+ {"role": "user", "content": user_input}])
95
  # Chat with bots
96
  bot1_response, bot2_response = chat_with_bots(user_input, state)
97