poe.com api (gpt-4) [added license for api.py]

This commit is contained in:
t.me/xtekky
2023-04-17 00:07:26 +01:00
parent 63a1ee45b5
commit cad2b5a9da
3 changed files with 3 additions and 0 deletions

View File

@@ -1,13 +0,0 @@
import quora
from time import sleep
token = quora.Account.create(proxy = None,logging = True)
print('token', token)
sleep(2)
for response in quora.StreamingCompletion.create(model = 'gpt-3.5-turbo',
prompt = 'hello world',
token = token):
print(response.completion.choices[0].text, end="", flush=True)