qibin0506 commited on
Commit
e721ef1
·
verified ·
1 Parent(s): 12d656e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -115,7 +115,7 @@ def sse_chat():
115
  chat_history = [{'role': 'system', 'content': ' '}, *chat_history]
116
 
117
  chat_template = TrainerTools().tokenizer.apply_chat_template(chat_history, tokenizer=False)
118
- print(f"gen for {chat_history}")
119
  chat_template = f'{chat_template}<assistant>'
120
 
121
  if search_api:
 
115
  chat_history = [{'role': 'system', 'content': ' '}, *chat_history]
116
 
117
  chat_template = TrainerTools().tokenizer.apply_chat_template(chat_history, tokenizer=False)
118
+ print(f"generate for {chat_template}")
119
  chat_template = f'{chat_template}<assistant>'
120
 
121
  if search_api: