mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-09-12 08:29:30 -04:00
fix you README
This commit is contained in:
parent
786dc89ee8
commit
8847f0a4fd
@ -10,7 +10,7 @@ response = you.Completion.create(
|
||||
detailed=True,
|
||||
include_links=True, )
|
||||
|
||||
print(response)
|
||||
print(response.dict())
|
||||
|
||||
# {
|
||||
# "response": "...",
|
||||
@ -32,7 +32,7 @@ while True:
|
||||
prompt=prompt,
|
||||
chat=chat)
|
||||
|
||||
print("Bot:", response["response"])
|
||||
print("Bot:", response.text)
|
||||
|
||||
chat.append({"question": prompt, "answer": response["response"]})
|
||||
chat.append({"question": prompt, "answer": response.text})
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user