summaryrefslogtreecommitdiffstats
path: root/testing/useless_test.py
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-05-02 12:46:54 +0200
committerGitHub <noreply@github.com>2023-05-02 12:46:54 +0200
commit33fa009125c1c6c249054f92f59a325ca06cba87 (patch)
tree1f114e794695779679135bac586d255f820f0e93 /testing/useless_test.py
parentadd italygpt.it (diff)
parentUpdate README.md (diff)
downloadgpt4free-33fa009125c1c6c249054f92f59a325ca06cba87.tar
gpt4free-33fa009125c1c6c249054f92f59a325ca06cba87.tar.gz
gpt4free-33fa009125c1c6c249054f92f59a325ca06cba87.tar.bz2
gpt4free-33fa009125c1c6c249054f92f59a325ca06cba87.tar.lz
gpt4free-33fa009125c1c6c249054f92f59a325ca06cba87.tar.xz
gpt4free-33fa009125c1c6c249054f92f59a325ca06cba87.tar.zst
gpt4free-33fa009125c1c6c249054f92f59a325ca06cba87.zip
Diffstat (limited to 'testing/useless_test.py')
-rw-r--r--testing/useless_test.py6
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"]