reformatted code

Signed-off-by: Peter Staar <taa@zurich.ibm.com>
This commit is contained in:
Peter Staar 2025-05-27 09:01:32 +02:00
parent bb12c96094
commit e838818783

View File

@ -213,7 +213,9 @@ def export_documents(
fw.write(ser_res.text)
else:
conv_res.document.save_as_html(
filename=fname, image_mode=image_export_mode, split_page_view=True
filename=fname,
image_mode=image_export_mode,
split_page_view=True,
)
# Export Text format:
@ -276,7 +278,8 @@ def convert( # noqa: C901
show_localization: Annotated[
bool,
typer.Option(
..., help="If enabled, the page images will show the bounding-boxes of the items."
...,
help="If enabled, the page images will show the bounding-boxes of the items.",
),
] = False,
headers: str = typer.Option(