Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.
Python ai4sciencedocument-analysisdocxextract-datalayout-analysisocrparserpdfpdf-converterpdf-extractor-llmpdf-extractor-pretrainpdf-extractor-ragpdf-parserpptxpythonxlsx
Update mineru/cli/vlm_server.py
Xiaomeng Zhao096717e4d014
diff --git a/mineru/cli/vlm_server.py b/mineru/cli/vlm_server.pyindex a4cf9dca..61bd47f6 100644--- a/mineru/cli/vlm_server.py+++ b/mineru/cli/vlm_server.py@@ -32,10 +32,11 @@ def openai_server(ctx, inference_engine):inference_engine = 'vllm'logger.info("Using vLLM as the inference engine for VLM server.")except ImportError:- logger.info("vLLM not found, falling back to LMDeploy as the inference engine for VLM server.")+ logger.info("vLLM not found, attempting to use LMDeploy as the inference engine for VLM server.")try:import lmdeployinference_engine = 'lmdeploy'+ # Success message moved after successful importlogger.info("Using LMDeploy as the inference engine for VLM server.")except ImportError:logger.error("Neither vLLM nor LMDeploy is installed. Please install at least one of them.")