mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-30 22:14:37 +00:00
docs: fix parameter in usage.md
Signed-off-by: Carl Senze <carl.senze@aleph-alpha.com>
This commit is contained in:
parent
8b437adcde
commit
4a584e8abd
@ -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)
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user