mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
docs(config): clarify comment during config migration
This commit is contained in:
parent
b9884a6166
commit
53c8f36029
@ -383,7 +383,7 @@ def load_and_migrate_config(config_path: Path) -> InvokeAIAppConfig:
|
||||
config.write_file(exclude_defaults=True)
|
||||
return config
|
||||
else:
|
||||
# This is a v4 config file, attempt to load it
|
||||
# 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_meta = ConfigMeta.model_validate(loaded_config_dict.pop("meta"))
|
||||
|
Loading…
Reference in New Issue
Block a user