fix function arguments for get_model_list
This commit is contained in:
parent
d34756dc98
commit
d57a3b459c
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ async def list_draft_models(request: Request) -> ModelList:
|
|||
|
||||
models = get_model_list(draft_model_path.resolve())
|
||||
else:
|
||||
models = await get_current_model_list(is_draft=True)
|
||||
models = await get_current_model_list(model_type="draft")
|
||||
|
||||
return models
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue