chenjianfei commited on
Commit
65e0347
·
1 Parent(s): f8eeafc
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -145,7 +145,7 @@ def predict(message, chat_history, thinking_history, config, section_state):
145
  # thinking_content = tokenizer.decode(output_ids[:index], skip_special_tokens=True).strip("\n")
146
  thinking = None
147
  response_content = tokenizer.decode(output_ids[index:], skip_special_tokens=True).strip("\n")
148
-
149
  # 更新对话历史
150
  chat_history.append({'role': 'user', 'content': message})
151
  if len(context) > 0:
 
145
  # thinking_content = tokenizer.decode(output_ids[:index], skip_special_tokens=True).strip("\n")
146
  thinking = None
147
  response_content = tokenizer.decode(output_ids[index:], skip_special_tokens=True).strip("\n")
148
+ print('回复:', response_content)
149
  # 更新对话历史
150
  chat_history.append({'role': 'user', 'content': message})
151
  if len(context) > 0: