"examples/vscode:/vscode.git/clone" did not exist on "a5722d02a4fc0fcad765f0bdfd6d15578acbba07"
Unverified Commit 07b4cbc0 authored by Xiaomeng Zhao's avatar Xiaomeng Zhao Committed by GitHub
Browse files

Update projects/multi_gpu_v2/_config_endpoint.py


Co-authored-by: default avatarCopilot <175728472+Copilot@users.noreply.github.com>
parent c08a86d6
......@@ -38,7 +38,7 @@ def config_endpoint():
elif os.environ['MINERU_MODEL_SOURCE'] == 'modelscope':
try:
response = requests.head(model_list_url, timeout=TIMEOUT)
response = requests.head(modelscope_url, timeout=TIMEOUT)
if response.ok:
logging.info(f"Successfully connected to ModelScope. Using 'modelscope' as model source.")
return True
......
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