Wendyy commited on
Commit
acd57f7
ยท
1 Parent(s): 8d9419f

rewrite my prompt

Browse files
Files changed (1) hide show
  1. modules/chat_func.py +1 -1
modules/chat_func.py CHANGED
@@ -254,7 +254,7 @@ def predict_all(
254
  logging.info(f"ๅˆ็ญ›ๅŽ็š„ๅบ—้“บๅ’Œ่œๅ“๏ผš{dicts}")
255
  dishes = []
256
  for restaurant, dish in dicts.items():
257
- dishes.extend(dish)
258
 
259
  dishes = 'ใ€'.join(dishes)
260
 
 
254
  logging.info(f"ๅˆ็ญ›ๅŽ็š„ๅบ—้“บๅ’Œ่œๅ“๏ผš{dicts}")
255
  dishes = []
256
  for restaurant, dish in dicts.items():
257
+ dishes.extend(dish.split('ใ€'))
258
 
259
  dishes = 'ใ€'.join(dishes)
260