summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/theb_test.py2
-rw-r--r--testing/useless_test.py6
2 files changed, 3 insertions, 5 deletions
diff --git a/testing/theb_test.py b/testing/theb_test.py
index 0fd2ec8b..5fa80908 100644
--- a/testing/theb_test.py
+++ b/testing/theb_test.py
@@ -2,4 +2,4 @@ from gpt4free import theb
for token in theb.Completion.create('hello world'):
print(token, end='', flush=True)
- print('asdsos') \ No newline at end of file
+ print('asdsos')
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"]