mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-09-24 23:10:23 +08:00
Update download_models_hf.py
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user