Wendyy commited on
Commit
e3e8e1c
ยท
1 Parent(s): 04c2e7c

rewrite my prompt

Browse files
Files changed (1) hide show
  1. modules/chat_func.py +1 -1
modules/chat_func.py CHANGED
@@ -242,7 +242,7 @@ def predict_all(
242
 
243
  ๅบ—้“บๅ็งฐ๏ผšโ€œ้Ÿฉๅผ็ƒค่‚‰ๅบ—โ€ ๆŽจ่่œๅ“๏ผš็Ÿณ้”…ๆ‹Œ้ฅญใ€้“ๆฟ็ƒงใ€็ƒค็‰›่ˆŒ"""
244
 
245
- pattern = r'ๅบ—้“บๅ็งฐ๏ผš(.+?) ๆŽจ่่œๅ“๏ผš(.+)'
246
 
247
  results = re.findall(pattern, response)
248
 
 
242
 
243
  ๅบ—้“บๅ็งฐ๏ผšโ€œ้Ÿฉๅผ็ƒค่‚‰ๅบ—โ€ ๆŽจ่่œๅ“๏ผš็Ÿณ้”…ๆ‹Œ้ฅญใ€้“ๆฟ็ƒงใ€็ƒค็‰›่ˆŒ"""
244
 
245
+ pattern = r'ๅบ—้“บๅ็งฐ๏ผš(.+?) ๆŽจ่่œๅ“๏ผš(.+)ใ€‚'
246
 
247
  results = re.findall(pattern, response)
248