Browse Source

更新 utils.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Xiaomeng Zhao 3 days ago
parent
commit
6f20fefadf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mineru/backend/vlm/utils.py

+ 1 - 1
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"]: