SamiKoen commited on
Commit
a2e9766
·
1 Parent(s): 76e3dcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,8 +58,8 @@ def predict(system_msg, inputs, top_p, temperature, chat_counter, chatbot=[], hi
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
  outofstock_msg = f"Bir önceki listeden başka {product_info[0]} stoklarda bulunmamaktadır"
61
- print(full_msg)
62
  full_msg = new_msg + outofstock_msg
 
63
  product_msg = {"role": "system", "content": full_msg}
64
  messages.append(product_msg)
65
  for data in chatbot:
 
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
  outofstock_msg = f"Bir önceki listeden başka {product_info[0]} stoklarda bulunmamaktadır"
 
61
  full_msg = new_msg + outofstock_msg
62
+ print(full_msg)
63
  product_msg = {"role": "system", "content": full_msg}
64
  messages.append(product_msg)
65
  for data in chatbot: