Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
refactor: remove unused import and update help text for device mode option
myhloli466b85ba3fa3
diff --git a/mineru/cli/client.py b/mineru/cli/client.pyindex 0d848cbb..472fa79b 100644--- a/mineru/cli/client.py+++ b/mineru/cli/client.py@@ -4,7 +4,6 @@ import clickfrom pathlib import Pathfrom loguru import logger-from mineru.utils.check_sys_env import is_mac_os_version_supportedfrom mineru.utils.cli_parser import arg_parsefrom mineru.utils.config_reader import get_devicefrom mineru.utils.guess_suffix_or_lang import guess_suffix_by_path@@ -125,7 +124,7 @@ from .common import do_parse, read_fn, pdf_suffixes, image_suffixes'device_mode',type=str,help="""Device mode for model inference, e.g., "cpu", "cuda", "cuda:0", "npu", "npu:0", "mps".- Adapted only for the case where the backend is set to "pipeline" and "vlm-transformers". """,+ Adapted only for the case where the backend is set to "pipeline". """,default=None,)@click.option(