Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

更新 utils.py

Xiaomeng Zhao6f20fefadfdc
diff --git a/mineru/backend/vlm/utils.py b/mineru/backend/vlm/utils.py
index 2de4d334..4a56eb7f 100644
--- a/mineru/backend/vlm/utils.py
+++ b/mineru/backend/vlm/utils.py
@@ -47,7 +47,7 @@ def enable_custom_logits_processors() -> bool:
return True
-def set_lmdeploy_backend(device_type:str) -> str:
+def set_lmdeploy_backend(device_type: str) -> str:
if device_type.lower() in ["ascend", "maca", "camb"]:
lmdeploy_backend = "pytorch"
elif device_type.lower() in ["cuda"]: