diff options
author | Raju Komati <komatiraju032@gmail.com> | 2023-05-01 16:34:45 +0200 |
---|---|---|
committer | Raju Komati <komatiraju032@gmail.com> | 2023-05-01 16:34:45 +0200 |
commit | 05494ebbb1436db8028d1e6e8189c550dc9ddf03 (patch) | |
tree | 636c1cb8ff869b90b9e5e86c664cd113d92cbce7 /testing/useless_test.py | |
parent | updated quora readme (diff) | |
download | gpt4free-05494ebbb1436db8028d1e6e8189c550dc9ddf03.tar gpt4free-05494ebbb1436db8028d1e6e8189c550dc9ddf03.tar.gz gpt4free-05494ebbb1436db8028d1e6e8189c550dc9ddf03.tar.bz2 gpt4free-05494ebbb1436db8028d1e6e8189c550dc9ddf03.tar.lz gpt4free-05494ebbb1436db8028d1e6e8189c550dc9ddf03.tar.xz gpt4free-05494ebbb1436db8028d1e6e8189c550dc9ddf03.tar.zst gpt4free-05494ebbb1436db8028d1e6e8189c550dc9ddf03.zip |
Diffstat (limited to 'testing/useless_test.py')
-rw-r--r-- | testing/useless_test.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/testing/useless_test.py b/testing/useless_test.py index 9b613aac..47c92386 100644 --- a/testing/useless_test.py +++ b/testing/useless_test.py @@ -11,7 +11,6 @@ while True: print(f"Answer: {req['text']}") message_id = req["id"] - import gpt4free message_id = "" @@ -20,8 +19,7 @@ while True: if prompt == "!stop": break - req = gpt4free.Completion.create(provider = gpt4free.Provider.UseLess, - prompt=prompt, parentMessageId=message_id) + req = gpt4free.Completion.create(provider=gpt4free.Provider.UseLess, prompt=prompt, parentMessageId=message_id) print(f"Answer: {req['text']}") - message_id = req["id"]
\ No newline at end of file + message_id = req["id"] |