mirror of
https://github.com/DS4SD/docling.git
synced 2025-08-01 15:02:21 +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.",
|
||||
),
|
||||
] = 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[
|
||||
Optional[float],
|
||||
typer.Option(
|
||||
@ -263,6 +259,10 @@ def convert(
|
||||
help="The timeout for processing each document, in seconds.",
|
||||
),
|
||||
] = 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:
|
||||
logging.basicConfig(level=logging.WARNING)
|
||||
|
Loading…
Reference in New Issue
Block a user