ruixie commited on
Commit
37ecd4f
1 Parent(s): 9057a97

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -48,12 +48,12 @@ history = []
48
  query = '你是谁?'
49
  response = model.chat(query, history, tokenizer)
50
  print(response)
51
- history.append(query, response)
52
 
53
  query = '用Python写一个HTTP server'
54
  response = model.chat(query, history, tokenizer)
55
  print(response)
56
- history.append(query, response)
57
  ```
58
 
59
  开发者也可以通过VS Code与JetBrains插件与CodeShell-7B-Chat交互,详情请参[VSCode插件仓库](https://github.com/WisdomShell/codeshell-vscode)与[IntelliJ插件仓库](https://github.com/WisdomShell/codeshell-intellij)。
 
48
  query = '你是谁?'
49
  response = model.chat(query, history, tokenizer)
50
  print(response)
51
+ history.append((query, response))
52
 
53
  query = '用Python写一个HTTP server'
54
  response = model.chat(query, history, tokenizer)
55
  print(response)
56
+ history.append((query, response))
57
  ```
58
 
59
  开发者也可以通过VS Code与JetBrains插件与CodeShell-7B-Chat交互,详情请参[VSCode插件仓库](https://github.com/WisdomShell/codeshell-vscode)与[IntelliJ插件仓库](https://github.com/WisdomShell/codeshell-intellij)。