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
cc543669
Unverified
Commit
cc543669
authored
Sep 04, 2024
by
Xiaomeng Zhao
Committed by
GitHub
Sep 04, 2024
Browse files
Create download_models_hf.py
parent
7ee2f4b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
docs/download_models_hf.py
docs/download_models_hf.py
+3
-0
No files found.
docs/download_models_hf.py
0 → 100644
View file @
cc543669
from
huggingface_hub
import
snapshot_download
model_dir
=
snapshot_download
(
'opendatalab/PDF-Extract-Kit'
)
print
(
f
"model dir is:
{
model_dir
}
/models"
)
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