We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am getting
AttributeError: 'PdfPipelineOptions' object has no attribute 'backend
when I am trying to run the demo from https://ds4sd.github.io/docling/usage/#control-pdf-table-extraction-options
I am attaching a screenshot of the error
To reproduce the error. Just try running this code below
from docling.datamodel.base_models import InputFormat from docling.datamodel.pipeline_options import PdfPipelineOptions, TableFormerMode from docling.document_converter import DocumentConverter from docling_core.types.doc import TableItem file = "<your_pdf_file.pdf>" pipeline_options = PdfPipelineOptions() pipeline_options.do_table_structure = True pipeline_options.table_structure_options.do_cell_matching = True pipeline_options.table_structure_options.mode = TableFormerMode.ACCURATE doc_converter = DocumentConverter( allowed_formats={ InputFormat.PDF, InputFormat.IMAGE }, format_options={ InputFormat.PDF: PdfPipelineOptions(pipeline_options=pipeline_options) } ) result = doc_converter.convert(file) print(result.document.export_to_markdown())
Docling version: 2.15.1 Docling Core version: 2.14.0 Docling IBM Models version: 3.1.2 Docling Parse version: 3.0.0
Python 3.11.10
The text was updated successfully, but these errors were encountered:
cau-git
No branches or pull requests
Bug
I am getting
when I am trying to run the demo from https://ds4sd.github.io/docling/usage/#control-pdf-table-extraction-options
I am attaching a screenshot of the error
Steps to reproduce
To reproduce the error. Just try running this code below
Docling version
Docling version: 2.15.1
Docling Core version: 2.14.0
Docling IBM Models version: 3.1.2
Docling Parse version: 3.0.0
Python version
Python 3.11.10
The text was updated successfully, but these errors were encountered: