From 8fda652ac2b548730fbcbc219ba719431e56e201 Mon Sep 17 00:00:00 2001 From: Xiaomeng Zhao Date: Mon, 11 Nov 2024 14:41:48 +0800 Subject: [PATCH] Update download_models_hf.py --- scripts/download_models_hf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)