mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 12:34:22 +00:00
use self.artifacts_path
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
ab8f71511b
commit
08ab628e75
@ -67,12 +67,14 @@ class StandardPdfPipeline(PaginatedPipeline):
|
|||||||
ocr_model,
|
ocr_model,
|
||||||
# Layout model
|
# Layout model
|
||||||
LayoutModel(
|
LayoutModel(
|
||||||
artifacts_path=artifacts_path / StandardPdfPipeline._layout_model_path
|
artifacts_path=self.artifacts_path
|
||||||
|
/ StandardPdfPipeline._layout_model_path
|
||||||
),
|
),
|
||||||
# Table structure model
|
# Table structure model
|
||||||
TableStructureModel(
|
TableStructureModel(
|
||||||
enabled=pipeline_options.do_table_structure,
|
enabled=pipeline_options.do_table_structure,
|
||||||
artifacts_path=artifacts_path / StandardPdfPipeline._table_model_path,
|
artifacts_path=self.artifacts_path
|
||||||
|
/ StandardPdfPipeline._table_model_path,
|
||||||
options=pipeline_options.table_structure_options,
|
options=pipeline_options.table_structure_options,
|
||||||
),
|
),
|
||||||
# Page assemble
|
# Page assemble
|
||||||
|
Loading…
Reference in New Issue
Block a user