From 6ba32b95f3f0f3f46e59f5a0a559dba8c6fc64bd Mon Sep 17 00:00:00 2001 From: JeLuF Date: Thu, 27 Oct 2022 00:26:24 +0200 Subject: [PATCH] Undo curl change #392 Resume Downloads The retry options also don't work on some windows machines: https://discord.com/channels/1014774730907209781/1014774732018683926/1034935751332347922 --- scripts/on_sd_start.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index a60810dc..3b7ed0ca 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -213,7 +213,7 @@ echo. > "..\models\stable-diffusion\Put your custom ckpt files here.txt" @if not exist "sd-v1-4.ckpt" ( @echo. & echo "Downloading data files (weights) for Stable Diffusion.." & echo. - @call curl -C - --retry 20 --retry-all-errors --retry-delay 5 -L -k https://me.cmdr2.org/stable-diffusion-ui/sd-v1-4.ckpt > sd-v1-4.ckpt + @call curl -L -k https://me.cmdr2.org/stable-diffusion-ui/sd-v1-4.ckpt > sd-v1-4.ckpt @if exist "sd-v1-4.ckpt" ( for %%I in ("sd-v1-4.ckpt") do if "%%~zI" NEQ "4265380512" ( @@ -243,7 +243,7 @@ echo. > "..\models\stable-diffusion\Put your custom ckpt files here.txt" @if not exist "GFPGANv1.3.pth" ( @echo. & echo "Downloading data files (weights) for GFPGAN (Face Correction).." & echo. - @call curl -C - --retry 20 --retry-all-errors --retry-delay 5 -L -k https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth > GFPGANv1.3.pth + @call curl -L -k https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth > GFPGANv1.3.pth @if exist "GFPGANv1.3.pth" ( for %%I in ("GFPGANv1.3.pth") do if "%%~zI" NEQ "348632874" ( @@ -273,7 +273,7 @@ echo. > "..\models\stable-diffusion\Put your custom ckpt files here.txt" @if not exist "RealESRGAN_x4plus.pth" ( @echo. & echo "Downloading data files (weights) for ESRGAN (Resolution Upscaling) x4plus.." & echo. - @call curl -C - --retry 20 --retry-all-errors --retry-delay 5 -L -k https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth > RealESRGAN_x4plus.pth + @call curl -L -k https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth > RealESRGAN_x4plus.pth @if exist "RealESRGAN_x4plus.pth" ( for %%I in ("RealESRGAN_x4plus.pth") do if "%%~zI" NEQ "67040989" ( @@ -303,7 +303,7 @@ echo. > "..\models\stable-diffusion\Put your custom ckpt files here.txt" @if not exist "RealESRGAN_x4plus_anime_6B.pth" ( @echo. & echo "Downloading data files (weights) for ESRGAN (Resolution Upscaling) x4plus_anime.." & echo. - @call curl -C - --retry 20 --retry-all-errors --retry-delay 5 -L -k https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth > RealESRGAN_x4plus_anime_6B.pth + @call curl -L -k https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth > RealESRGAN_x4plus_anime_6B.pth @if exist "RealESRGAN_x4plus_anime_6B.pth" ( for %%I in ("RealESRGAN_x4plus_anime_6B.pth") do if "%%~zI" NEQ "17938799" (