Update invokeai/app/api/routers/models.py

Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
This commit is contained in:
Lincoln Stein 2023-07-19 22:46:49 -04:00 committed by GitHub
parent 170bbd7da3
commit d76bf4444c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()