clean examples

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi 2024-10-30 17:14:48 +01:00
parent 4dfa7e636f
commit e5b177e9e6

View File

@ -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) conv_results = doc_converter.convert_all(input_paths)
for res in conv_results: for res in conv_results: