Files
InvokeAI/invokeai/app/services
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
..
2024-03-01 10:42:33 +11:00
2024-03-08 15:36:14 -05:00
2024-03-06 21:57:41 -05:00
2023-03-03 00:02:15 -05:00
2024-03-01 10:42:33 +11:00