change model filter to None in second place

This commit is contained in:
Lincoln Stein 2023-05-16 00:03:57 -04:00
parent eea0d6f7bc
commit 1442f1cb8d

View File

@ -467,7 +467,7 @@ class ModelManager(object):
return True
return False
def list_models(self, model_type: SDModelType=SDModelType.Diffusers) -> dict[str,dict[str,str]]:
def list_models(self, model_type: SDModelType=None) -> dict[str,dict[str,str]]:
"""
Return a dict of models, in format [model_type][model_name], with
following fields: