InvokeAI/invokeai/app
psychedelicious d4686b7f64 fix(mm): yaml migration fixup
- If the metadata yaml has an invalid version, exist the app. If we don't, the app will crawl the models dir and add models to the db without having first parsed `models.yaml`. This should not happen often, as the vast majority of users are on v3.0.0 models.yaml files.
- Fix off-by-one error with models count (need to pop the `__metadata__` stanza
- After a successful migration, rename `models.yaml` to `models.yaml.bak` to prevent the migration logic from re-running on subsequent app startups.
2024-03-09 08:37:45 -06:00
..
api tidy(mm): ModelImages service 2024-03-06 21:57:41 -05:00
assets/images tweaks in response to psychedelicious review of PR 2023-07-24 09:23:51 -04:00
invocations chore: ruff 2024-03-08 11:10:44 -05:00
services fix(mm): yaml migration fixup 2024-03-09 08:37:45 -06:00
shared tidy(nodes): move all field things to fields.py 2024-03-01 10:42:33 +11:00
util refactor(nodes): model identifiers 2024-03-07 10:56:59 +11:00
__init__.py fix: make invocation_context.py accessible to mkdocs 2024-03-01 10:42:33 +11:00
api_app.py fix(nodes): load config before doing anything else 2024-03-07 10:36:27 +11:00