diff options
author | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-10 01:10:15 +0200 |
---|---|---|
committer | t.me/xtekky <98614666+xtekky@users.noreply.github.com> | 2023-04-10 01:10:15 +0200 |
commit | 38fd6884ac152aa383ae14f4518ad8e60721d181 (patch) | |
tree | 3f82fc96261c870795ab7cfd541822d9877d9a33 /testing/poe_test.py | |
parent | rename poe api ( gpt 4 ) to quora (diff) | |
download | gpt4free-38fd6884ac152aa383ae14f4518ad8e60721d181.tar gpt4free-38fd6884ac152aa383ae14f4518ad8e60721d181.tar.gz gpt4free-38fd6884ac152aa383ae14f4518ad8e60721d181.tar.bz2 gpt4free-38fd6884ac152aa383ae14f4518ad8e60721d181.tar.lz gpt4free-38fd6884ac152aa383ae14f4518ad8e60721d181.tar.xz gpt4free-38fd6884ac152aa383ae14f4518ad8e60721d181.tar.zst gpt4free-38fd6884ac152aa383ae14f4518ad8e60721d181.zip |
Diffstat (limited to 'testing/poe_test.py')
-rw-r--r-- | testing/poe_test.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/poe_test.py b/testing/poe_test.py new file mode 100644 index 00000000..cfc94966 --- /dev/null +++ b/testing/poe_test.py @@ -0,0 +1,13 @@ +import quora +from time import sleep + +token = quora.Account.create(proxy = 'xtekky:ogingoi2n3g@geo.iproyal.com:12321',logging = True) +print('token', token) + +sleep(2) + +for response in quora.StreamingCompletion.create(model = 'gpt-4', + prompt = 'hello world', + token = token): + + print(response.completion.choices[0].text, end="", flush=True)
\ No newline at end of file |