summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorRaju Komati <komatiraju032@gmail.com>2023-05-01 16:32:44 +0200
committerRaju Komati <komatiraju032@gmail.com>2023-05-01 16:33:33 +0200
commit1eefa094e3cb4a7cde74ece82a5f8215150ef7c4 (patch)
treeff3128a9ba536458836b8d4d5134c83eef085911 /testing
parentrenamed method (diff)
downloadgpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.tar
gpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.tar.gz
gpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.tar.bz2
gpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.tar.lz
gpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.tar.xz
gpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.tar.zst
gpt4free-1eefa094e3cb4a7cde74ece82a5f8215150ef7c4.zip
Diffstat (limited to '')
-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)