Typo correction in forefront README
This commit is contained in:
parent
2ae26bfa7e
commit
6476547628
1 changed files with 6 additions and 3 deletions
|
@ -6,8 +6,11 @@ from gpt4free import forefront
|
||||||
token = forefront.Account.create(logging=False)
|
token = forefront.Account.create(logging=False)
|
||||||
print(token)
|
print(token)
|
||||||
# get a response
|
# get a response
|
||||||
for response in forefront.StreamingCompletion.create(token=token,
|
for response in forefront.StreamingCompletion.create(
|
||||||
prompt='hello world', model='gpt-4'):
|
token=token,
|
||||||
print(response.completion.choices[0].text, end='')
|
prompt='hello world',
|
||||||
|
model='gpt-4'
|
||||||
|
):
|
||||||
|
print(response.choices[0].text, end='')
|
||||||
print("")
|
print("")
|
||||||
```
|
```
|
Loading…
Reference in a new issue