Skip to content

Commit

Permalink
docs: fix parameter in usage.md (#332)
Browse files Browse the repository at this point in the history
Signed-off-by: Carl Senze <[email protected]>
Co-authored-by: Carl Senze <[email protected]>
  • Loading branch information
capsenz and Carl Senze authored Nov 15, 2024
1 parent 8533039 commit 835e077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ from docling.datamodel.base_models import DocumentStream
from docling.document_converter import DocumentConverter

buf = BytesIO(your_binary_stream)
source = DocumentStream(filename="my_doc.pdf", stream=buf)
source = DocumentStream(name="my_doc.pdf", stream=buf)
converter = DocumentConverter()
result = converter.convert(source)
```
Expand Down

0 comments on commit 835e077

Please sign in to comment.