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