From e5b177e9e69309d09a61fabcc0e355b294b22bf5 Mon Sep 17 00:00:00 2001 From: Michele Dolfi Date: Wed, 30 Oct 2024 17:14:48 +0100 Subject: [PATCH] clean examples Signed-off-by: Michele Dolfi --- docs/examples/run_with_formats.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/examples/run_with_formats.py b/docs/examples/run_with_formats.py index 48f57b69..7bd27de5 100644 --- a/docs/examples/run_with_formats.py +++ b/docs/examples/run_with_formats.py @@ -57,12 +57,6 @@ def main(): ) ) - # initialize the pipeline for PDF. This will also download the required models. - print("Doing initialize for PDF") - doc_converter.initialize_pipeline(InputFormat.PDF) - - # convert the documents - print("Converting documents") conv_results = doc_converter.convert_all(input_paths) for res in conv_results: