Skip to content

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

Update download_models_hf.py

Xiaomeng Zhao8fda652ac2b5
diff --git a/scripts/download_models_hf.py b/scripts/download_models_hf.py
index 5e6b8dce..e2af5a09 100644
--- a/scripts/download_models_hf.py
+++ b/scripts/download_models_hf.py
@@ -52,7 +52,7 @@ if __name__ == '__main__':
print(f'model_dir is: {model_dir}')
print(f'layoutreader_model_dir is: {layoutreader_model_dir}')
- json_url = 'https://github.com/opendatalab/MinerU/raw/dev/magic-pdf.template.json'
+ json_url = 'https://github.com/opendatalab/MinerU/raw/master/magic-pdf.template.json'
config_file_name = 'magic-pdf.json'
home_dir = os.path.expanduser('~')
config_file = os.path.join(home_dir, config_file_name)