瀏覽代碼

fix: improve help text for device mode option in client.py

myhloli 2 周之前
父節點
當前提交
e5dba06035
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      mineru/cli/client.py

+ 2 - 1
mineru/cli/client.py

@@ -126,7 +126,8 @@ if is_mac_os_version_supported():
     '--device',
     '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". ',
+    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". """,
     default=None,
 )
 @click.option(