mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
revert: unrelated docstring change
This commit is contained in:
parent
48e1a0c217
commit
c545262e3b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user