"tests/vscode:/vscode.git/clone" did not exist on "11542431a52b02ef4f14b6f53354c79187884827"
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(): ...@@ -38,7 +38,7 @@ def config_endpoint():
elif os.environ['MINERU_MODEL_SOURCE'] == 'modelscope': elif os.environ['MINERU_MODEL_SOURCE'] == 'modelscope':
try: try:
response = requests.head(model_list_url, timeout=TIMEOUT) response = requests.head(modelscope_url, timeout=TIMEOUT)
if response.ok: if response.ok:
logging.info(f"Successfully connected to ModelScope. Using 'modelscope' as model source.") logging.info(f"Successfully connected to ModelScope. Using 'modelscope' as model source.")
return True 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