fix reversed args in _model_key() call

This commit is contained in:
Lincoln Stein 2023-05-13 21:11:06 -04:00
parent 1f602e6143
commit b31a6ff605

View File

@ -237,8 +237,8 @@ class ModelCache(object):
if subfolder and not submodel: if subfolder and not submodel:
possible_parent_key = self._model_key( possible_parent_key = self._model_key(
repo_id_or_path, repo_id_or_path,
None,
revision, revision,
None,
SDModelType.Diffusers SDModelType.Diffusers
) )
if possible_parent_key in self.models: if possible_parent_key in self.models: