Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vprelovac authored Dec 27, 2023
1 parent 50ee86c commit cd237a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ PyLLMs supports streaming from compatible models. 'complete_stream' method will
```
model= llms.init('claude-v1')
result = model.complete_stream("write an essay on civil war")
for chunk in result:
for chunk in result.stream:
if chunk is not None:
print(chunk, end='')
```
Expand Down

0 comments on commit cd237a6

Please sign in to comment.