resolve vae overrides correctly

This commit is contained in:
Lincoln Stein 2023-08-03 19:26:42 -04:00 committed by Kent Keirsey
parent 6ad565d84c
commit 1b158f62c4

View File

@ -472,7 +472,7 @@ class ModelManager(object):
if submodel_type is not None and hasattr(model_config, submodel_type):
override_path = getattr(model_config, submodel_type)
if override_path:
model_path = self.app_config.root_path / override_path
model_path = self.resolve_path(override_path)
model_type = submodel_type
submodel_type = None
model_class = MODEL_CLASSES[base_model][model_type]