Skip to content

Commit

Permalink
perf: prevent temp file leftovers, reuse core type (DS4SD#487)
Browse files Browse the repository at this point in the history
* chore: reuse DocumentStream from docling-core

Signed-off-by: Panos Vagenas <[email protected]>

* update docling-core version

Signed-off-by: Panos Vagenas <[email protected]>

* [skip ci] document  import line

Signed-off-by: Panos Vagenas <[email protected]>

* fix: use new resolve_source_to_x functions to avoid tempfile leftovers (DS4SD#490)

use new resolve_source_to_x functions

Signed-off-by: Michele Dolfi <[email protected]>

---------

Signed-off-by: Panos Vagenas <[email protected]>
Signed-off-by: Michele Dolfi <[email protected]>
Co-authored-by: Michele Dolfi <[email protected]>
  • Loading branch information
2 people authored and ab-shrek committed Dec 6, 2024
1 parent 6515451 commit 3d56ac1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion docling/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@ def convert(
do_ocr=ocr,
ocr_options=ocr_options,
do_table_structure=True,
document_timeout=document_timeout,
)
pipeline_options.table_structure_options.do_cell_matching = (
True # do_cell_matching
Expand Down
6 changes: 6 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3d56ac1

Please sign in to comment.