mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-03 03:40:12 +00:00
Typo correction in forefront README
This commit is contained in:
parent
2ae26bfa7e
commit
6476547628
@ -6,8 +6,11 @@ from gpt4free import forefront
|
||||
token = forefront.Account.create(logging=False)
|
||||
print(token)
|
||||
# get a response
|
||||
for response in forefront.StreamingCompletion.create(token=token,
|
||||
prompt='hello world', model='gpt-4'):
|
||||
print(response.completion.choices[0].text, end='')
|
||||
for response in forefront.StreamingCompletion.create(
|
||||
token=token,
|
||||
prompt='hello world',
|
||||
model='gpt-4'
|
||||
):
|
||||
print(response.choices[0].text, end='')
|
||||
print("")
|
||||
```
|
Loading…
Reference in New Issue
Block a user