mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-30 14:04:27 +00:00
clean examples
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
4dfa7e636f
commit
e5b177e9e6
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user