mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 04:24:45 +00:00
fix examples
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
9b6b8c4ca0
commit
03fbb51566
@ -56,11 +56,11 @@ def main():
|
|||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
|
|
||||||
input_doc_paths = [
|
input_doc_paths = [
|
||||||
Path("./test/data/2206.01062.pdf"),
|
Path("./tests/data/2206.01062.pdf"),
|
||||||
Path("./test/data/2203.01017v2.pdf"),
|
Path("./tests/data/2203.01017v2.pdf"),
|
||||||
Path("./test/data/2305.03393v1.pdf"),
|
Path("./tests/data/2305.03393v1.pdf"),
|
||||||
Path("./test/data/redp5110.pdf"),
|
Path("./tests/data/redp5110.pdf"),
|
||||||
Path("./test/data/redp5695.pdf"),
|
Path("./tests/data/redp5695.pdf"),
|
||||||
]
|
]
|
||||||
|
|
||||||
# buf = BytesIO(Path("./test/data/2206.01062.pdf").open("rb").read())
|
# buf = BytesIO(Path("./test/data/2206.01062.pdf").open("rb").read())
|
||||||
|
@ -49,9 +49,9 @@ def main():
|
|||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
|
|
||||||
input_doc_paths = [
|
input_doc_paths = [
|
||||||
Path("./test/data/2206.01062.pdf"),
|
Path("./tests/data/2206.01062.pdf"),
|
||||||
Path("./test/data/2203.01017v2.pdf"),
|
Path("./tests/data/2203.01017v2.pdf"),
|
||||||
Path("./test/data/2305.03393v1.pdf"),
|
Path("./tests/data/2305.03393v1.pdf"),
|
||||||
]
|
]
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
@ -22,7 +22,7 @@ def main():
|
|||||||
logging.basicConfig(level=logging.INFO)
|
logging.basicConfig(level=logging.INFO)
|
||||||
|
|
||||||
input_doc_paths = [
|
input_doc_paths = [
|
||||||
Path("./test/data/2206.01062.pdf"),
|
Path("./tests/data/2206.01062.pdf"),
|
||||||
]
|
]
|
||||||
output_dir = Path("./scratch")
|
output_dir = Path("./scratch")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user