mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-02 15:32:30 +00:00
fix examples path
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
90f0428a62
commit
71242499a1
@ -15,7 +15,7 @@ from docling.document_converter import DocumentConverter, PdfFormatOption
|
|||||||
def main():
|
def main():
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
|
|
||||||
input_doc_path = Path("./tests/data/2206.01062.pdf")
|
input_doc_path = Path("./tests/data/pdf/2206.01062.pdf")
|
||||||
|
|
||||||
pipeline_options = PdfPipelineOptions()
|
pipeline_options = PdfPipelineOptions()
|
||||||
pipeline_options.do_picture_description = True
|
pipeline_options.do_picture_description = True
|
||||||
|
@ -14,7 +14,7 @@ from docling.document_converter import DocumentConverter, PdfFormatOption
|
|||||||
def main():
|
def main():
|
||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
|
|
||||||
input_doc_path = Path("./tests/data/2206.01062.pdf")
|
input_doc_path = Path("./tests/data/pdf/2206.01062.pdf")
|
||||||
|
|
||||||
# This is using a local API server to do picture description.
|
# This is using a local API server to do picture description.
|
||||||
# For example, you can launch it locally with:
|
# For example, you can launch it locally with:
|
||||||
|
Loading…
Reference in New Issue
Block a user