remove startup dependency on legacy models.yaml file

This commit is contained in:
Lincoln Stein
2024-02-21 10:18:30 -05:00
committed by psychedelicious
parent a6e1ac6096
commit ae14df97d6
11 changed files with 11 additions and 468 deletions

View File

@ -8,7 +8,6 @@ from invokeai.app.services.config import InvokeAIAppConfig
def check_invokeai_root(config: InvokeAIAppConfig):
try:
assert config.model_conf_path.exists(), f"{config.model_conf_path} not found"
assert config.db_path.parent.exists(), f"{config.db_path.parent} not found"
assert config.models_path.exists(), f"{config.models_path} not found"
if not config.ignore_missing_core_models: