Quellcode durchsuchen

fix error logs for multi_gpu endpoint.

Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
zhanluxianshen vor 2 Monaten
Ursprung
Commit
1671e68367
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      projects/multi_gpu_v2/_config_endpoint.py

+ 1 - 1
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.")