Fix for table span compute in vlm_pipeline

Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
This commit is contained in:
Maksym Lysak
2025-01-10 16:30:12 +01:00
parent ef079e4e78
commit 01c46e24b1
2 changed files with 7 additions and 8 deletions

View File

@@ -9,6 +9,7 @@ from docling.pipeline.vlm_pipeline import VlmPipeline
# source = "https://arxiv.org/pdf/2408.09869" # document per local path or URL
# source = "tests/data/2305.03393v1-pg9-img.png"
source = "tests/data/2305.03393v1-pg9.pdf"
# source = "page.png"
pipeline_options = PdfPipelineOptions()
pipeline_options.generate_page_images = True