From eea0d6f7bcf9c9e997613d8e874257de4e8fc85c Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Mon, 15 May 2023 23:52:29 -0400 Subject: [PATCH] default to no filter in list_models() --- invokeai/app/api/routers/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/app/api/routers/models.py b/invokeai/app/api/routers/models.py index eb7daeb8dd..18742d815d 100644 --- a/invokeai/app/api/routers/models.py +++ b/invokeai/app/api/routers/models.py @@ -70,7 +70,7 @@ class ModelsList(BaseModel): ) async def list_models( model_type: SDModelType = Query( - default=SDModelType.Diffusers, description="The type of model to get" + default=None, description="The type of model to get" ), ) -> ModelsList: """Gets a list of models"""