mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
e76cc71e81
When running the configurator, the `legacy_models_conf_path` was stripped when saving the config file. Then the migration logic didn't fire correctly, and the custom models.yaml paths weren't migrated into the db. - Rework the logic to migrate this path by adding it to the config object as a normal field that is not excluded from serialization. - Rearrange the models.yaml migration logic to remove the legacy path after migrating, then write the config file. This way, the legacy path doesn't stick around. - Move the schema version into the config object. - Back up the config file before attempting migration. - Add tests to cover this edge case |
||
---|---|---|
.. | ||
configure_invokeai.py | ||
generate_openapi_schema.py | ||
generate_profile_graphs.sh | ||
images2prompt.py | ||
invokeai-cli.py | ||
invokeai-model-install.py | ||
invokeai-web.py | ||
make_models_markdown_table.py | ||
probe-model.py | ||
pypi_helper.py | ||
scan_models_directory.py | ||
sd-metadata.py | ||
update_config_docstring.py |