返回提交历史
Modified
gpt4free/you/README.md
+3
-3
XFEstudio/gpt4free
fix you README
8847f0a4
代码差异
1 个文件
+3
-3
@@ -10,7 +10,7 @@ response = you.Completion.create(
10
10
detailed=True,
11
11
include_links=True, )
12
12
13
print(response)
13
print(response.dict())
14
14
15
15
# {
16
16
# "response": "...",
@@ -32,7 +32,7 @@ while True:
32
32
prompt=prompt,
33
33
chat=chat)
34
34
35
print("Bot:", response["response"])
35
print("Bot:", response.text)
36
36
37
chat.append({"question": prompt, "answer": response["response"]})
37
chat.append({"question": prompt, "answer": response.text})
38
38
```