summaryrefslogtreecommitdiffstats
path: root/testing/poe_test.py
diff options
context:
space:
mode:
authorValerii <81074936+valerii-chirkov@users.noreply.github.com>2023-05-05 00:14:29 +0200
committerGitHub <noreply@github.com>2023-05-05 00:14:29 +0200
commitb3754facf9ada5bbf018a3b38151a2bd384afd52 (patch)
tree9f7b519081274c8f1c735aa2145b935acf335755 /testing/poe_test.py
parentadd(quora/tests): Added a module with quora tests. (diff)
parentMerge pull request #443 from TheTrueShell/main (diff)
downloadgpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.tar
gpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.tar.gz
gpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.tar.bz2
gpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.tar.lz
gpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.tar.xz
gpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.tar.zst
gpt4free-b3754facf9ada5bbf018a3b38151a2bd384afd52.zip
Diffstat (limited to 'testing/poe_test.py')
-rw-r--r--testing/poe_test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/poe_test.py b/testing/poe_test.py
index 22d95f5f..6edc030c 100644
--- a/testing/poe_test.py
+++ b/testing/poe_test.py
@@ -1,6 +1,6 @@
from time import sleep
-from gpt4free import quora
+from gpt4free import quora
token = quora.Account.create(proxy=None, logging=True)
print('token', token)
@@ -9,3 +9,5 @@ sleep(2)
for response in quora.StreamingCompletion.create(model='ChatGPT', prompt='hello world', token=token):
print(response.text, flush=True)
+
+quora.Account.delete(token)