From aadc75f845a62bcde504f740bc7eb6292754cf21 Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Sat, 9 Mar 2024 17:23:46 +0100 Subject: [PATCH] fix: also adjust fallback for model again --- launch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch.py b/launch.py index 9d23bb33..778fb3ab 100644 --- a/launch.py +++ b/launch.py @@ -101,7 +101,7 @@ def download_models(default_model, previous_default_models, checkpoint_downloads if not args.always_download_new_model: if not os.path.exists(os.path.join(config.paths_checkpoints[0], default_model)): - for alternative_model_name in config.previous_default_models: + for alternative_model_name in previous_default_models: if os.path.exists(os.path.join(config.paths_checkpoints[0], alternative_model_name)): print(f'You do not have [{default_model}] but you have [{alternative_model_name}].') print(f'Fooocus will use [{alternative_model_name}] to avoid downloading new models, '