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
refactor: rename environment variable from MINERU_BACKEND to MINERU_MODEL_SOURCE
myhloli81554804334e
diff --git a/mineru/cli/client.py b/mineru/cli/client.pyindex 3494b827..92640f34 100644--- a/mineru/cli/client.py+++ b/mineru/cli/client.py@@ -151,7 +151,7 @@ def main(input_path, output_dir, backend, lang, server_url, start_page_id, end_pif os.getenv('MINERU_VIRTUAL_VRAM_SIZE', None) is None:os.environ['MINERU_VIRTUAL_VRAM_SIZE']= str(get_virtual_vram_size())- if os.getenv('MINERU_BACKEND', None) is None:+ if os.getenv('MINERU_MODEL_SOURCE', None) is None:os.environ['MINERU_MODEL_SOURCE'] = model_sourceos.makedirs(output_dir, exist_ok=True)