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
d3f6736e
Unverified
Commit
d3f6736e
authored
Jul 05, 2025
by
Xiaomeng Zhao
Committed by
GitHub
Jul 05, 2025
Browse files
Update _config_endpoint.py
parent
07b4cbc0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
projects/multi_gpu_v2/_config_endpoint.py
projects/multi_gpu_v2/_config_endpoint.py
+3
-2
No files found.
projects/multi_gpu_v2/_config_endpoint.py
View file @
d3f6736e
...
@@ -15,7 +15,8 @@ def config_endpoint():
...
@@ -15,7 +15,8 @@ def config_endpoint():
"""
"""
os
.
environ
.
setdefault
(
'MINERU_MODEL_SOURCE'
,
'huggingface'
)
os
.
environ
.
setdefault
(
'MINERU_MODEL_SOURCE'
,
'huggingface'
)
model_list_url
=
f
'https://huggingface.co/models'
model_list_url
=
f
"https://huggingface.co/models"
modelscope_url
=
f
"https://modelscope.cn/models"
# Use a specific check for the Hugging Face source
# Use a specific check for the Hugging Face source
if
os
.
environ
[
'MINERU_MODEL_SOURCE'
]
==
'huggingface'
:
if
os
.
environ
[
'MINERU_MODEL_SOURCE'
]
==
'huggingface'
:
...
...
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