revert: unrelated docstring change

This commit is contained in:
psychedelicious 2024-03-27 15:50:08 +11:00
parent 48e1a0c217
commit c545262e3b

View File

@ -418,6 +418,7 @@ def load_and_migrate_config(config_path: Path) -> InvokeAIAppConfig:
else:
# Attempt to load as a v4 config file
try:
# Meta is not included in the model fields, so we need to validate it separately
config = InvokeAIAppConfig.model_validate(loaded_config_dict)
assert (
config.schema_version == CONFIG_SCHEMA_VERSION