From f57ec2b53b2fd89672f5611dee3c5cb33738c30a Mon Sep 17 00:00:00 2001 From: missionfloyd Date: Tue, 3 Sep 2024 19:58:29 -0600 Subject: [PATCH 1/2] Update stable diffusion 1.5 URL --- modules/sd_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sd_models.py b/modules/sd_models.py index 55bd9ca5e43..da84e326d7e 100644 --- a/modules/sd_models.py +++ b/modules/sd_models.py @@ -159,7 +159,7 @@ def list_models(): model_url = None expected_sha256 = None else: - model_url = f"{shared.hf_endpoint}/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors" + model_url = f"{shared.hf_endpoint}/botp/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors" expected_sha256 = '6ce0161689b3853acaa03779ec93eafe75a02f4ced659bee03f50797806fa2fa' model_list = modelloader.load_models(model_path=model_path, model_url=model_url, command_path=shared.cmd_opts.ckpt_dir, ext_filter=[".ckpt", ".safetensors"], download_name="v1-5-pruned-emaonly.safetensors", ext_blacklist=[".vae.ckpt", ".vae.safetensors"], hash_prefix=expected_sha256) From c9a06d1093df828c7ff1dd356f38cf5ae41c1227 Mon Sep 17 00:00:00 2001 From: missionfloyd Date: Tue, 8 Oct 2024 16:50:39 -0600 Subject: [PATCH 2/2] Use stable-diffusion-v1-5 repo instead --- modules/sd_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sd_models.py b/modules/sd_models.py index da84e326d7e..f9f3f07310b 100644 --- a/modules/sd_models.py +++ b/modules/sd_models.py @@ -159,7 +159,7 @@ def list_models(): model_url = None expected_sha256 = None else: - model_url = f"{shared.hf_endpoint}/botp/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors" + model_url = f"{shared.hf_endpoint}/stable-diffusion-v1-5/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors" expected_sha256 = '6ce0161689b3853acaa03779ec93eafe75a02f4ced659bee03f50797806fa2fa' model_list = modelloader.load_models(model_path=model_path, model_url=model_url, command_path=shared.cmd_opts.ckpt_dir, ext_filter=[".ckpt", ".safetensors"], download_name="v1-5-pruned-emaonly.safetensors", ext_blacklist=[".vae.ckpt", ".vae.safetensors"], hash_prefix=expected_sha256)