mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
default to no filter in list_models()
This commit is contained in:
parent
4fe94a9315
commit
eea0d6f7bc
@ -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"""
|
||||
|
Loading…
Reference in New Issue
Block a user