From d76bf4444c62889faf429183d32f3f9b14ea76a2 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Wed, 19 Jul 2023 22:46:49 -0400 Subject: [PATCH] Update invokeai/app/api/routers/models.py Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com> --- 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 fb83fb36dd..870ca33534 100644 --- a/invokeai/app/api/routers/models.py +++ b/invokeai/app/api/routers/models.py @@ -325,7 +325,7 @@ async def list_ckpt_configs( response_model = bool ) async def sync_to_config( -)->None: +)->bool: """Call after making changes to models.yaml, autoimport directories or models directory to synchronize in-memory data structures with disk data structures.""" ApiDependencies.invoker.services.model_manager.sync_to_config()