rename poe api ( gpt 4 ) to quora

due to having same name as poe-api, I changed the name for it to be used with the other package
This commit is contained in:
t.me/xtekky
2023-04-10 01:09:29 +02:00
parent 633bcd81d7
commit 3be905b742
38 changed files with 27 additions and 25 deletions

13
quora/poe_test.py Normal file
View File

@@ -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)