Skip to content

Commit

Permalink
Typo correction in forefront README
Browse files Browse the repository at this point in the history
  • Loading branch information
sagadav committed May 1, 2023
1 parent 2ae26bf commit 6476547
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions gpt4free/forefront/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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("")
```

0 comments on commit 6476547

Please sign in to comment.