feat(config): restore ignore_missing_core_models arg

This commit is contained in:
psychedelicious
2024-03-15 17:04:39 +11:00
parent cb180909f7
commit 5179587b5a
2 changed files with 8 additions and 1 deletions

View File

@ -7,6 +7,7 @@ import sys
from invokeai.app.services.config import InvokeAIAppConfig
# TODO(psyche): Should this also check for things like ESRGAN models, database, etc?
def validate_root_structure(config: InvokeAIAppConfig) -> None:
assert config.db_path.parent.exists(), f"{config.db_path.parent} not found"
assert config.models_path.exists(), f"{config.models_path} not found"