rwitz commited on
Commit
73006db
1 Parent(s): ea9303b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -100,7 +100,7 @@ def user_ask(state, chatbot1, chatbot2, textbox):
100
 
101
  # Update chat history in state
102
  if "history" not in state:
103
- state.update({'history': [])
104
  state["history"].append([
105
  {"role": "bot1", "content": bot1_response},
106
  {"role": "bot2", "content": bot2_response}
 
100
 
101
  # Update chat history in state
102
  if "history" not in state:
103
+ state.update({'history': []})
104
  state["history"].append([
105
  {"role": "bot1", "content": bot1_response},
106
  {"role": "bot2", "content": bot2_response}