Update app.py
Browse files
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 |
-
|
| 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"
|