Update app.py
Browse files
app.py
CHANGED
@@ -56,8 +56,8 @@ def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], hi
|
|
56 |
for product_info in products:
|
57 |
|
58 |
if product_info[0] in input_words:
|
59 |
-
print(product_info[2], product_info[1][0])
|
60 |
new_msg = f"{product_info[2]} {product_info[1][0]} ve fiyatı EURO {product_info[1][1]}"
|
|
|
61 |
product_msg = {"role": "system", "content": new_msg}
|
62 |
messages.append(product_msg)
|
63 |
for data in chatbot:
|
|
|
56 |
for product_info in products:
|
57 |
|
58 |
if product_info[0] in input_words:
|
|
|
59 |
new_msg = f"{product_info[2]} {product_info[1][0]} ve fiyatı EURO {product_info[1][1]}"
|
60 |
+
print(new_msg)
|
61 |
product_msg = {"role": "system", "content": new_msg}
|
62 |
messages.append(product_msg)
|
63 |
for data in chatbot:
|