XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Updated README.md

There is no need for logging as it takes so much space of terminal window. Also, added a print statement to add a line at the end of the Bot's response.

51697d32
naa <44613678+naa7@users.noreply.github.com>
提交于

代码差异

1 个文件 +3 -2
Modified forefront/README.md +3 -2
@@ -4,7 +4,7 @@
4 4 import forefront
5 5
6 6 # create an account
7 token = forefront.Account.create(logging=True)
7 token = forefront.Account.create(logging=False)
8 8 print(token)
9 9
10 10 # get a response
@@ -12,4 +12,5 @@ for response in forefront.StreamingCompletion.create(token = token,
12 12 prompt = 'hello world', model='gpt-4'):
13 13
14 14 print(response.completion.choices[0].text, end = '')
15 ```
15 print("")
16 ```