Update download_models_hf.py

This commit is contained in:
Xiaomeng Zhao
2024-11-11 14:41:48 +08:00
committed by GitHub
parent 041e3efb3a
commit 8fda652ac2
+1 -1
View File
@@ -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)