Commit 983fccad authored by minhnguyengp1's avatar minhnguyengp1
Browse files

delete unnecessary output_dir_path handling

parent 419d00b5
Pipeline #11748 failed with stages
in 1 minute and 18 seconds
...@@ -31,8 +31,6 @@ class FileParser: ...@@ -31,8 +31,6 @@ class FileParser:
do_formula_enrichment: bool = False, do_formula_enrichment: bool = False,
) -> DoclingDocument: ) -> DoclingDocument:
self.logger.info(f"Starting parsing workflow for input file: {file_path}") self.logger.info(f"Starting parsing workflow for input file: {file_path}")
output_dir_path = Path(image_output_dir)
output_dir_path.mkdir(parents=True, exist_ok=True)
pdf_pipeline_options = PdfPipelineOptions( pdf_pipeline_options = PdfPipelineOptions(
generate_page_images=False, generate_page_images=False,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment