Skip to content

Commit

Permalink
Roll back CLI changes from main
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
  • Loading branch information
cau-git committed Dec 17, 2024
1 parent 8f09fcd commit 6c8c625
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docling/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,17 +252,17 @@ 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(
...,
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)
Expand Down

0 comments on commit 6c8c625

Please sign in to comment.