mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-01 23:12:20 +00:00
Roll back CLI changes from main
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
This commit is contained in:
parent
8f09fcdf59
commit
6c8c625ce1
@ -252,10 +252,6 @@ def convert(
|
|||||||
help="Show version information.",
|
help="Show version information.",
|
||||||
),
|
),
|
||||||
] = None,
|
] = None,
|
||||||
num_threads: Annotated[int, typer.Option(..., help="Number of threads")] = 4,
|
|
||||||
device: Annotated[
|
|
||||||
AcceleratorDevice, typer.Option(..., help="Accelerator device")
|
|
||||||
] = AcceleratorDevice.AUTO,
|
|
||||||
document_timeout: Annotated[
|
document_timeout: Annotated[
|
||||||
Optional[float],
|
Optional[float],
|
||||||
typer.Option(
|
typer.Option(
|
||||||
@ -263,6 +259,10 @@ def convert(
|
|||||||
help="The timeout for processing each document, in seconds.",
|
help="The timeout for processing each document, in seconds.",
|
||||||
),
|
),
|
||||||
] = None,
|
] = None,
|
||||||
|
num_threads: Annotated[int, typer.Option(..., help="Number of threads")] = 4,
|
||||||
|
device: Annotated[
|
||||||
|
AcceleratorDevice, typer.Option(..., help="Accelerator device")
|
||||||
|
] = AcceleratorDevice.AUTO,
|
||||||
):
|
):
|
||||||
if verbose == 0:
|
if verbose == 0:
|
||||||
logging.basicConfig(level=logging.WARNING)
|
logging.basicConfig(level=logging.WARNING)
|
||||||
|
Loading…
Reference in New Issue
Block a user