tc-mb commited on
Commit
41d0437
·
verified ·
1 Parent(s): 96b1b5e

Update: README

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -286,7 +286,7 @@ for new_text in answer:
286
  print(new_text, flush=True, end='')
287
 
288
  # Second round chat, pass history context of multi-turn conversation
289
- msgs.append({"role": "assistant", "content": [answer]})
290
  msgs.append({"role": "user", "content": ["What should I pay attention to when traveling here?"]})
291
 
292
  answer = model.chat(
 
286
  print(new_text, flush=True, end='')
287
 
288
  # Second round chat, pass history context of multi-turn conversation
289
+ msgs.append({"role": "assistant", "content": [generated_text]})
290
  msgs.append({"role": "user", "content": ["What should I pay attention to when traveling here?"]})
291
 
292
  answer = model.chat(