Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|