File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ def retrive_model_from_server(model_name_or_path, revision="master"):
513
513
except Exception :
514
514
if os .path .exists (local_path ):
515
515
llm_logger .error (
516
- "Failed to connect to aistudio, but detected that the model directory exists. Attempting to start."
516
+ f "Failed to connect to aistudio, but detected that the model directory { local_path } exists. Attempting to start."
517
517
)
518
518
return local_path
519
519
else :
@@ -536,7 +536,7 @@ def retrive_model_from_server(model_name_or_path, revision="master"):
536
536
except Exception :
537
537
if os .path .exists (local_path ):
538
538
llm_logger .error (
539
- "Failed to connect to modelscope, but detected that the model directory exists. Attempting to start."
539
+ f "Failed to connect to modelscope, but detected that the model directory { local_path } exists. Attempting to start."
540
540
)
541
541
return local_path
542
542
else :
You can’t perform that action at this time.
0 commit comments