mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 20:58:11 +00:00
Exposed "force_backend_text" as pipeline parameter
Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
This commit is contained in:
@@ -21,6 +21,9 @@ sources = [
|
||||
|
||||
pipeline_options = PdfPipelineOptions()
|
||||
pipeline_options.generate_page_images = True
|
||||
pipeline_options.force_backend_text = (
|
||||
False # If True, text from backend will be used instead of generated text
|
||||
)
|
||||
pipeline_options.artifacts_path = "model_artifacts"
|
||||
|
||||
from docling_core.types.doc import DocItemLabel, ImageRefMode
|
||||
|
||||
Reference in New Issue
Block a user