mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 12:34:22 +00:00
update example
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
beab8ce3ba
commit
4a6ea8d4af
@ -40,7 +40,7 @@ def main():
|
|||||||
element_html_filename = output_dir / f"{doc_filename}-table-{table_ix+1}.html"
|
element_html_filename = output_dir / f"{doc_filename}-table-{table_ix+1}.html"
|
||||||
_log.info(f"Saving HTML table to {element_html_filename}")
|
_log.info(f"Saving HTML table to {element_html_filename}")
|
||||||
with element_html_filename.open("w") as fp:
|
with element_html_filename.open("w") as fp:
|
||||||
fp.write(table.export_to_html())
|
fp.write(table.export_to_html(doc=conv_res.document))
|
||||||
|
|
||||||
end_time = time.time() - start_time
|
end_time = time.time() - start_time
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user