Skip to content

Commit

Permalink
Update download_models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
myhloli authored Nov 11, 2024
1 parent e0835f3 commit 041e3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/download_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def download_and_modify_json(url, local_filename, modifications):
print(f'model_dir is: {model_dir}')
print(f'layoutreader_model_dir is: {layoutreader_model_dir}')

json_url = 'https://gitee.com/myhloli/MinerU/raw/dev/magic-pdf.template.json'
json_url = 'https://gitee.com/myhloli/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)
Expand Down

0 comments on commit 041e3ef

Please sign in to comment.