mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-01 15:02:21 +00:00
chore: more cleanup
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
parent
c5873f2496
commit
5cd0fdd258
@ -19,7 +19,6 @@ sources = [
|
|||||||
"tests/data/2305.03393v1-pg9-img.png",
|
"tests/data/2305.03393v1-pg9-img.png",
|
||||||
]
|
]
|
||||||
|
|
||||||
settings.debug.profile_pipeline_timings = True
|
|
||||||
## Use experimental VlmPipeline
|
## Use experimental VlmPipeline
|
||||||
pipeline_options = VlmPipelineOptions()
|
pipeline_options = VlmPipelineOptions()
|
||||||
# If force_backend_text = True, text from backend will be used instead of generated text
|
# If force_backend_text = True, text from backend will be used instead of generated text
|
||||||
@ -70,12 +69,6 @@ for source in sources:
|
|||||||
print("")
|
print("")
|
||||||
print(res.document.export_to_markdown())
|
print(res.document.export_to_markdown())
|
||||||
|
|
||||||
print("------------------------------------------------")
|
|
||||||
print("Timings:")
|
|
||||||
print("------------------------------------------------")
|
|
||||||
print("")
|
|
||||||
print(res.timings)
|
|
||||||
|
|
||||||
for page in res.pages:
|
for page in res.pages:
|
||||||
print("")
|
print("")
|
||||||
print("Predicted page in DOCTAGS:")
|
print("Predicted page in DOCTAGS:")
|
||||||
|
Loading…
Reference in New Issue
Block a user