diff options
Diffstat (limited to 'you/README.md')
-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 +``` |