Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
041e3efb
Unverified
Commit
041e3efb
authored
Nov 11, 2024
by
Xiaomeng Zhao
Committed by
GitHub
Nov 11, 2024
Browse files
Update download_models.py
parent
e0835f33
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/download_models.py
scripts/download_models.py
+1
-1
No files found.
scripts/download_models.py
View file @
041e3efb
...
@@ -45,7 +45,7 @@ if __name__ == '__main__':
...
@@ -45,7 +45,7 @@ if __name__ == '__main__':
print
(
f
'model_dir is:
{
model_dir
}
'
)
print
(
f
'model_dir is:
{
model_dir
}
'
)
print
(
f
'layoutreader_model_dir is:
{
layoutreader_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'
config_file_name
=
'magic-pdf.json'
home_dir
=
os
.
path
.
expanduser
(
'~'
)
home_dir
=
os
.
path
.
expanduser
(
'~'
)
config_file
=
os
.
path
.
join
(
home_dir
,
config_file_name
)
config_file
=
os
.
path
.
join
(
home_dir
,
config_file_name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment