Skip to content

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

fix: remove hardcoded model path in vlm_analyze.py for better flexibility

myhloli6b36b2c8e01e
diff --git a/mineru/backend/vlm/vlm_analyze.py b/mineru/backend/vlm/vlm_analyze.py
index d0936a30..65be2b69 100644
--- a/mineru/backend/vlm/vlm_analyze.py
+++ b/mineru/backend/vlm/vlm_analyze.py
@@ -79,7 +79,6 @@ class ModelSingleton:
del kwargs[param]
if backend not in ["http-client"] and not model_path:
model_path = auto_download_and_get_model_root_path("/","vlm")
- model_path = "/Volumes/2TB/2.5pro_2605/mineru2.5pro_2605_stage3_ckpt640"
if backend == "transformers":
try:
from transformers import (