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:
|
else:
|
||||||
# Attempt to load as a v4 config file
|
# Attempt to load as a v4 config file
|
||||||
try:
|
try:
|
||||||
|
# Meta is not included in the model fields, so we need to validate it separately
|
||||||
config = InvokeAIAppConfig.model_validate(loaded_config_dict)
|
config = InvokeAIAppConfig.model_validate(loaded_config_dict)
|
||||||
assert (
|
assert (
|
||||||
config.schema_version == CONFIG_SCHEMA_VERSION
|
config.schema_version == CONFIG_SCHEMA_VERSION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user