added main module for accessing all services
This commit is contained in:
@@ -7,7 +7,5 @@ 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)
|
||||
for response in quora.StreamingCompletion.create(model='ChatGPT', prompt='hello world', token=token):
|
||||
print(response.text, flush=True)
|
||||
|
||||
Reference in New Issue
Block a user