diff options
author | sagadav <artursagadeev97@gmail.com> | 2023-05-01 11:49:18 +0200 |
---|---|---|
committer | sagadav <artursagadeev97@gmail.com> | 2023-05-01 11:56:49 +0200 |
commit | 64765476282096493e1f7b72a0f763fc1c3d9d5e (patch) | |
tree | a4d95c4beedc9be43f6362869c333799d03d3630 | |
parent | Merge pull request #332 from mache102/main (diff) | |
download | gpt4free-64765476282096493e1f7b72a0f763fc1c3d9d5e.tar gpt4free-64765476282096493e1f7b72a0f763fc1c3d9d5e.tar.gz gpt4free-64765476282096493e1f7b72a0f763fc1c3d9d5e.tar.bz2 gpt4free-64765476282096493e1f7b72a0f763fc1c3d9d5e.tar.lz gpt4free-64765476282096493e1f7b72a0f763fc1c3d9d5e.tar.xz gpt4free-64765476282096493e1f7b72a0f763fc1c3d9d5e.tar.zst gpt4free-64765476282096493e1f7b72a0f763fc1c3d9d5e.zip |
-rw-r--r-- | gpt4free/forefront/README.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gpt4free/forefront/README.md b/gpt4free/forefront/README.md index 35ba9897..887097ec 100644 --- a/gpt4free/forefront/README.md +++ b/gpt4free/forefront/README.md @@ -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("") ```
\ No newline at end of file |