mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-23 16:53:35 +01:00
commit
7d03719816
@ -71,7 +71,7 @@ Useful for judging (and stopping) an image quickly, without waiting for it to fi
|
|||||||
You don't need to install or struggle with Python, Anaconda, Docker etc. The installer will take care of whatever is needed.
|
You don't need to install or struggle with Python, Anaconda, Docker etc. The installer will take care of whatever is needed.
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
1. **Download** [for Windows](https://github.com/cmdr2/stable-diffusion-ui/releases/download/v2.16/stable-diffusion-ui-win64.zip) or [for Linux](https://github.com/cmdr2/stable-diffusion-ui/releases/download/v2.16/stable-diffusion-ui-linux.tar.xz).
|
1. **Download** [for Windows](https://github.com/cmdr2/stable-diffusion-ui/releases/download/v2.3.5/stable-diffusion-ui-windows.zip) or [for Linux](https://github.com/cmdr2/stable-diffusion-ui/releases/download/v2.3.5/stable-diffusion-ui-linux.zip).
|
||||||
|
|
||||||
2. **Extract**:
|
2. **Extract**:
|
||||||
- For Windows: After unzipping the file, please move the `stable-diffusion-ui` folder to your `C:` (or any drive like D:, at the top root level), e.g. `C:\stable-diffusion-ui`. This will avoid a common problem with Windows (file path length limits).
|
- For Windows: After unzipping the file, please move the `stable-diffusion-ui` folder to your `C:` (or any drive like D:, at the top root level), e.g. `C:\stable-diffusion-ui`. This will avoid a common problem with Windows (file path length limits).
|
||||||
|
@ -34,14 +34,12 @@ echo. > dist\win\stable-diffusion-ui\scripts\install_status.txt
|
|||||||
@rem make the zip
|
@rem make the zip
|
||||||
|
|
||||||
cd dist\win
|
cd dist\win
|
||||||
call powershell Compress-Archive -Path stable-diffusion-ui -DestinationPath ..\stable-diffusion-ui-win-x64.zip
|
call powershell Compress-Archive -Path stable-diffusion-ui -DestinationPath ..\stable-diffusion-ui-windows.zip
|
||||||
cd ..\..
|
cd ..\..
|
||||||
|
|
||||||
@REM cd dist\linux-mac
|
@REM cd dist\linux-mac
|
||||||
@REM call powershell Compress-Archive -Path stable-diffusion-ui -DestinationPath ..\stable-diffusion-ui-linux-x64.zip
|
@REM call powershell Compress-Archive -Path stable-diffusion-ui -DestinationPath ..\stable-diffusion-ui-linux.zip
|
||||||
@REM call powershell Compress-Archive -Path stable-diffusion-ui -DestinationPath ..\stable-diffusion-ui-linux-arm64.zip
|
@REM call powershell Compress-Archive -Path stable-diffusion-ui -DestinationPath ..\stable-diffusion-ui-mac.zip
|
||||||
@REM call powershell Compress-Archive -Path stable-diffusion-ui -DestinationPath ..\stable-diffusion-ui-mac-x64.zip
|
|
||||||
@REM call powershell Compress-Archive -Path stable-diffusion-ui -DestinationPath ..\stable-diffusion-ui-mac-arm64.zip
|
|
||||||
@REM cd ..\..
|
@REM cd ..\..
|
||||||
|
|
||||||
echo "Build ready. Upload the zip files inside the 'dist' folder."
|
echo "Build ready. Upload the zip files inside the 'dist' folder."
|
||||||
|
8
build.sh
8
build.sh
@ -37,14 +37,12 @@ echo "" > dist/linux-mac/stable-diffusion-ui/scripts/install_status.txt
|
|||||||
# make the zip
|
# make the zip
|
||||||
|
|
||||||
# cd dist/win
|
# cd dist/win
|
||||||
# zip -r ../stable-diffusion-ui-win-x64.zip stable-diffusion-ui
|
# zip -r ../stable-diffusion-ui-windows.zip stable-diffusion-ui
|
||||||
# cd ../..
|
# cd ../..
|
||||||
|
|
||||||
cd dist/linux-mac
|
cd dist/linux-mac
|
||||||
zip -r ../stable-diffusion-ui-linux-x64.zip stable-diffusion-ui
|
zip -r ../stable-diffusion-ui-linux.zip stable-diffusion-ui
|
||||||
zip -r ../stable-diffusion-ui-linux-arm64.zip stable-diffusion-ui
|
zip -r ../stable-diffusion-ui-mac.zip stable-diffusion-ui
|
||||||
zip -r ../stable-diffusion-ui-mac-x64.zip stable-diffusion-ui
|
|
||||||
zip -r ../stable-diffusion-ui-mac-arm64.zip stable-diffusion-ui
|
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
echo "Build ready. Upload the zip files inside the 'dist' folder."
|
echo "Build ready. Upload the zip files inside the 'dist' folder."
|
||||||
|
@ -213,7 +213,7 @@ echo. > "..\models\stable-diffusion\Put your custom ckpt files here.txt"
|
|||||||
@if not exist "sd-v1-4.ckpt" (
|
@if not exist "sd-v1-4.ckpt" (
|
||||||
@echo. & echo "Downloading data files (weights) for Stable Diffusion.." & echo.
|
@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" (
|
@if exist "sd-v1-4.ckpt" (
|
||||||
for %%I in ("sd-v1-4.ckpt") do if "%%~zI" NEQ "4265380512" (
|
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" (
|
@if not exist "GFPGANv1.3.pth" (
|
||||||
@echo. & echo "Downloading data files (weights) for GFPGAN (Face Correction).." & echo.
|
@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" (
|
@if exist "GFPGANv1.3.pth" (
|
||||||
for %%I in ("GFPGANv1.3.pth") do if "%%~zI" NEQ "348632874" (
|
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" (
|
@if not exist "RealESRGAN_x4plus.pth" (
|
||||||
@echo. & echo "Downloading data files (weights) for ESRGAN (Resolution Upscaling) x4plus.." & echo.
|
@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" (
|
@if exist "RealESRGAN_x4plus.pth" (
|
||||||
for %%I in ("RealESRGAN_x4plus.pth") do if "%%~zI" NEQ "67040989" (
|
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" (
|
@if not exist "RealESRGAN_x4plus_anime_6B.pth" (
|
||||||
@echo. & echo "Downloading data files (weights) for ESRGAN (Resolution Upscaling) x4plus_anime.." & echo.
|
@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" (
|
@if exist "RealESRGAN_x4plus_anime_6B.pth" (
|
||||||
for %%I in ("RealESRGAN_x4plus_anime_6B.pth") do if "%%~zI" NEQ "17938799" (
|
for %%I in ("RealESRGAN_x4plus_anime_6B.pth") do if "%%~zI" NEQ "17938799" (
|
||||||
|
@ -186,7 +186,7 @@ fi
|
|||||||
if [ ! -f "sd-v1-4.ckpt" ]; then
|
if [ ! -f "sd-v1-4.ckpt" ]; then
|
||||||
echo "Downloading data files (weights) for Stable Diffusion.."
|
echo "Downloading data files (weights) for Stable Diffusion.."
|
||||||
|
|
||||||
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
|
curl -L -k https://me.cmdr2.org/stable-diffusion-ui/sd-v1-4.ckpt > sd-v1-4.ckpt
|
||||||
|
|
||||||
if [ -f "sd-v1-4.ckpt" ]; then
|
if [ -f "sd-v1-4.ckpt" ]; then
|
||||||
model_size=`find "sd-v1-4.ckpt" -printf "%s"`
|
model_size=`find "sd-v1-4.ckpt" -printf "%s"`
|
||||||
@ -218,7 +218,7 @@ fi
|
|||||||
if [ ! -f "GFPGANv1.3.pth" ]; then
|
if [ ! -f "GFPGANv1.3.pth" ]; then
|
||||||
echo "Downloading data files (weights) for GFPGAN (Face Correction).."
|
echo "Downloading data files (weights) for GFPGAN (Face Correction).."
|
||||||
|
|
||||||
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
|
curl -L -k https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv1.3.pth > GFPGANv1.3.pth
|
||||||
|
|
||||||
if [ -f "GFPGANv1.3.pth" ]; then
|
if [ -f "GFPGANv1.3.pth" ]; then
|
||||||
model_size=`find "GFPGANv1.3.pth" -printf "%s"`
|
model_size=`find "GFPGANv1.3.pth" -printf "%s"`
|
||||||
@ -250,7 +250,7 @@ fi
|
|||||||
if [ ! -f "RealESRGAN_x4plus.pth" ]; then
|
if [ ! -f "RealESRGAN_x4plus.pth" ]; then
|
||||||
echo "Downloading data files (weights) for ESRGAN (Resolution Upscaling) x4plus.."
|
echo "Downloading data files (weights) for ESRGAN (Resolution Upscaling) x4plus.."
|
||||||
|
|
||||||
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
|
curl -L -k https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth > RealESRGAN_x4plus.pth
|
||||||
|
|
||||||
if [ -f "RealESRGAN_x4plus.pth" ]; then
|
if [ -f "RealESRGAN_x4plus.pth" ]; then
|
||||||
model_size=`find "RealESRGAN_x4plus.pth" -printf "%s"`
|
model_size=`find "RealESRGAN_x4plus.pth" -printf "%s"`
|
||||||
@ -282,7 +282,7 @@ fi
|
|||||||
if [ ! -f "RealESRGAN_x4plus_anime_6B.pth" ]; then
|
if [ ! -f "RealESRGAN_x4plus_anime_6B.pth" ]; then
|
||||||
echo "Downloading data files (weights) for ESRGAN (Resolution Upscaling) x4plus_anime.."
|
echo "Downloading data files (weights) for ESRGAN (Resolution Upscaling) x4plus_anime.."
|
||||||
|
|
||||||
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
|
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 [ -f "RealESRGAN_x4plus_anime_6B.pth" ]; then
|
if [ -f "RealESRGAN_x4plus_anime_6B.pth" ]; then
|
||||||
model_size=`find "RealESRGAN_x4plus_anime_6B.pth" -printf "%s"`
|
model_size=`find "RealESRGAN_x4plus_anime_6B.pth" -printf "%s"`
|
||||||
|
Loading…
Reference in New Issue
Block a user