diff --git a/docs/examples/custom_convert.py b/docs/examples/custom_convert.py index 34e918b5f..7631848bd 100644 --- a/docs/examples/custom_convert.py +++ b/docs/examples/custom_convert.py @@ -82,17 +82,17 @@ def main(): # Docling Parse with EasyOCR (CPU only) # ---------------------- - pipeline_options = PdfPipelineOptions() - pipeline_options.do_ocr = True - pipeline_options.ocr_options.use_gpu = False - pipeline_options.do_table_structure = True - pipeline_options.table_structure_options.do_cell_matching = True + # pipeline_options = PdfPipelineOptions() + # pipeline_options.do_ocr = True + # pipeline_options.ocr_options.use_gpu = False # <-- set this. + # pipeline_options.do_table_structure = True + # pipeline_options.table_structure_options.do_cell_matching = True - doc_converter = DocumentConverter( - format_options={ - InputFormat.PDF: PdfFormatOption(pipeline_options=pipeline_options) - } - ) + # doc_converter = DocumentConverter( + # format_options={ + # InputFormat.PDF: PdfFormatOption(pipeline_options=pipeline_options) + # } + # ) # Docling Parse with Tesseract # ----------------------