File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
invokeai/backend/model_management Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -675,13 +675,15 @@ def scan_models_directory(
675675 base_model : Optional [BaseModelType ] = None ,
676676 model_type : Optional [ModelType ] = None ,
677677 ):
678+
678679 loaded_files = set ()
679680 new_models_found = False
680681
682+ self .logger .info (f'scanning { self .app_config .models_path } for new models' )
681683 with Chdir (self .app_config .root_path ):
682684 for model_key , model_config in list (self .models .items ()):
683685 model_name , cur_base_model , cur_model_type = self .parse_key (model_key )
684- model_path = self .app_config .root_path / model_config .path
686+ model_path = self .app_config .root_path . absolute () / model_config .path
685687 if not model_path .exists ():
686688 model_class = MODEL_CLASSES [cur_base_model ][cur_model_type ]
687689 if model_class .save_to_config :
You can’t perform that action at this time.
0 commit comments