Unverified Commit d3f6736e authored by Xiaomeng Zhao's avatar Xiaomeng Zhao Committed by GitHub
Browse files

Update _config_endpoint.py

parent 07b4cbc0
...@@ -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':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment