SamiKoen commited on
Commit
aa91080
·
1 Parent(s): 7d0712c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], hi
63
  product_msg = {"role": "system", "content": new_msg}
64
  noneproduct_msg = {"role": "system", "content": outofstock_msg}
65
  messages.append(product_msg)
66
- message.append(noneproduct_msg)
67
  for data in chatbot:
68
  user = {}
69
  user["role"] = "user"
 
63
  product_msg = {"role": "system", "content": new_msg}
64
  noneproduct_msg = {"role": "system", "content": outofstock_msg}
65
  messages.append(product_msg)
66
+ messages.append(noneproduct_msg)
67
  for data in chatbot:
68
  user = {}
69
  user["role"] = "user"