mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
d4686b7f64
- 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. |
||
---|---|---|
.. | ||
__init__.py | ||
model_install_base.py | ||
model_install_default.py |