summaryrefslogtreecommitdiffstats
path: root/testing/poe_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/poe_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/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)