diff options
author | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-28 10:06:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-28 10:06:39 +0200 |
commit | d717511236fbcefff44bb3c748bb2a1ed65bea60 (patch) | |
tree | 8f4fa55183b659f91c1d3da691faf1cee93c9e06 /you | |
parent | Merge pull request #224 from digger-yu/patch-1 (diff) | |
parent | added an if-statement for ending loop (diff) | |
download | gpt4free-d717511236fbcefff44bb3c748bb2a1ed65bea60.tar gpt4free-d717511236fbcefff44bb3c748bb2a1ed65bea60.tar.gz gpt4free-d717511236fbcefff44bb3c748bb2a1ed65bea60.tar.bz2 gpt4free-d717511236fbcefff44bb3c748bb2a1ed65bea60.tar.lz gpt4free-d717511236fbcefff44bb3c748bb2a1ed65bea60.tar.xz gpt4free-d717511236fbcefff44bb3c748bb2a1ed65bea60.tar.zst gpt4free-d717511236fbcefff44bb3c748bb2a1ed65bea60.zip |
Diffstat (limited to 'you')
-rw-r--r-- | you/README.md | 5 |
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 +``` |