summaryrefslogtreecommitdiffstats
path: root/you
diff options
context:
space:
mode:
authornaa <44613678+naa7@users.noreply.github.com>2023-04-28 05:48:55 +0200
committerGitHub <noreply@github.com>2023-04-28 05:48:55 +0200
commit81480d0c7ea8f68e206258e3ccd1d36149faf861 (patch)
tree68d3952bc44340a3630391d7b801ab83c34294e0 /you
parentUpdate README.md (diff)
downloadgpt4free-81480d0c7ea8f68e206258e3ccd1d36149faf861.tar
gpt4free-81480d0c7ea8f68e206258e3ccd1d36149faf861.tar.gz
gpt4free-81480d0c7ea8f68e206258e3ccd1d36149faf861.tar.bz2
gpt4free-81480d0c7ea8f68e206258e3ccd1d36149faf861.tar.lz
gpt4free-81480d0c7ea8f68e206258e3ccd1d36149faf861.tar.xz
gpt4free-81480d0c7ea8f68e206258e3ccd1d36149faf861.tar.zst
gpt4free-81480d0c7ea8f68e206258e3ccd1d36149faf861.zip
Diffstat (limited to '')
-rw-r--r--you/README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/you/README.md b/you/README.md
index dbce37a5..25c20085 100644
--- a/you/README.md
+++ b/you/README.md
@@ -25,7 +25,8 @@ chat = []
while True:
prompt = input("You: ")
-
+ if prompt == 'q':
+ break
response = you.Completion.create(
prompt=prompt,
chat=chat)
@@ -33,4 +34,4 @@ while True:
print("Bot:", response["response"])
chat.append({"question": prompt, "answer": response["response"]})
-``` \ No newline at end of file
+```