From d9a6e41265212267e645ec7e7cf98988677bc814 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Sun, 4 Sep 2022 19:15:42 +0530 Subject: [PATCH] Switch to a standardized model link, for v2 public release --- scripts/on_sd_start.bat | 2 +- scripts/on_sd_start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 6b715a6b..a88ba88c 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -83,7 +83,7 @@ ) else ( @echo. & echo "Downloading data files (weights) for Stable Diffusion.." & echo. - @call curl https://www.googleapis.com/storage/v1/b/aai-blog-files/o/sd-v1-4.ckpt?alt=media > sd-v1-4.ckpt + @call curl -L https://me.cmdr2.org/stable-diffusion-ui/sd-v1-4.ckpt > sd-v1-4.ckpt @if not exist "sd-v1-4.ckpt" ( echo "Error downloading the data files (weights) for Stable Diffusion. Please try re-running this installer. If it doesn't work, please copy the messages in this window, and ask the community at https://discord.com/invite/u9yhsFmEkB or file an issue at https://github.com/cmdr2/stable-diffusion-ui/issues" diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index b4d20e2a..e263488b 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -59,7 +59,7 @@ if [ -f "sd-v1-4.ckpt" ]; then else echo "Downloading data files (weights) for Stable Diffusion.." - curl https://www.googleapis.com/storage/v1/b/aai-blog-files/o/sd-v1-4.ckpt?alt=media > sd-v1-4.ckpt + curl -L https://me.cmdr2.org/stable-diffusion-ui/sd-v1-4.ckpt > sd-v1-4.ckpt if [ ! -f "sd-v1-4.ckpt" ]; then printf "\n\nError downloading the data files (weights) for Stable Diffusion. Please try re-running this installer. If it doesn't work, please copy the messages in this window, and ask the community at https://discord.com/invite/u9yhsFmEkB or file an issue at https://github.com/cmdr2/stable-diffusion-ui/issues\n\n"