pick correct config file for sdxl models

This commit is contained in:
Lincoln Stein
2023-08-07 15:19:49 -04:00
parent ae17d01e1d
commit af044007d5
2 changed files with 7 additions and 3 deletions

View File

@ -941,7 +941,9 @@ class ModelManager(object):
raise DuplicateModelException(f"Model with key {model_key} added twice")
model_path = self.relative_model_path(model_path)
model_config: ModelConfigBase = model_class.probe_config(str(model_path))
model_config: ModelConfigBase = model_class.probe_config(
str(model_path), model_base=cur_base_model
)
self.models[model_key] = model_config
new_models_found = True
except DuplicateModelException as e: