rwitz commited on
Commit
ea9303b
·
1 Parent(s): 033caa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ def user_ask(state, chatbot1, chatbot2, textbox):
92
  # Updating state with the current ELO ratings
93
  state["elo_ratings"] = read_elo_ratings()
94
  if "history" not in state:
95
- state.update({'history': [])
96
  state["history"].extend([
97
  {"role": "user", "content": user_input}])
98
  # Chat with bots
 
92
  # Updating state with the current ELO ratings
93
  state["elo_ratings"] = read_elo_ratings()
94
  if "history" not in state:
95
+ state.update({'history': []})
96
  state["history"].extend([
97
  {"role": "user", "content": user_input}])
98
  # Chat with bots