mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 04:24:45 +00:00
fixed the doctag export in docling/utils/export.py
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
This commit is contained in:
parent
e57e223ab7
commit
08cee99cb6
@ -111,7 +111,7 @@ def generate_multimodal_pages(
|
|||||||
)
|
)
|
||||||
# No page-tagging since we only do 1 page at the time
|
# No page-tagging since we only do 1 page at the time
|
||||||
content_dt = doc.export_to_document_tokens(
|
content_dt = doc.export_to_document_tokens(
|
||||||
main_text_start=start_ix, main_text_stop=end_ix, page_tagging=False
|
main_text_start=start_ix, main_text_stop=end_ix, add_page_index=False
|
||||||
)
|
)
|
||||||
|
|
||||||
return content_text, content_md, content_dt, page_cells, page_segments, page
|
return content_text, content_md, content_dt, page_cells, page_segments, page
|
||||||
|
Loading…
Reference in New Issue
Block a user