mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
Possibly closes #4815
This commit is contained in:
committed by
Kent Keirsey
parent
d2149a8380
commit
15cabc4968
@@ -986,6 +986,8 @@ class ModelManager(object):
|
||||
|
||||
for model_path in models_dir.iterdir():
|
||||
if model_path not in loaded_files: # TODO: check
|
||||
if model_path.name.startswith("."):
|
||||
continue
|
||||
model_name = model_path.name if model_path.is_dir() else model_path.stem
|
||||
model_key = self.create_key(model_name, cur_base_model, cur_model_type)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user