Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

fix error logs for multi_gpu endpoint.

zhanluxianshen1671e6836778
diff --git a/projects/multi_gpu_v2/_config_endpoint.py b/projects/multi_gpu_v2/_config_endpoint.py
index c178b52b..c30239d8 100644
--- a/projects/multi_gpu_v2/_config_endpoint.py
+++ b/projects/multi_gpu_v2/_config_endpoint.py
@@ -44,7 +44,7 @@ def config_endpoint():
logging.info(f"Successfully connected to ModelScope. Using 'modelscope' as model source.")
return True
except requests.exceptions.RequestException as e:
- logging.error(f"Failed to connect to ModelScope at {model_list_url}: {e}")
+ logging.error(f"Failed to connect to ModelScope at {modelscope_url}: {e}")
elif os.environ['MINERU_MODEL_SOURCE'] == 'local':
logging.info("Using 'local' as model source.")