Quellcode durchsuchen

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

myhloli vor 2 Wochen
Ursprung
Commit
e5dba06035
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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(