From 53371537616925ceaf13a2e55a55397eeaf684ad Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Thu, 15 Sep 2022 15:14:48 +0530 Subject: [PATCH 01/35] Remove the use of activate.d for the windows installer, since it allows for easier debugging later on --- build.bat | 8 +++----- build.sh | 3 +++ scripts/Start Stable Diffusion UI.cmd | 11 ++++++++++- scripts/start.sh | 3 +++ 4 files changed, 19 insertions(+), 6 deletions(-) diff --git a/build.bat b/build.bat index d1bcaab7..0cc6cf3f 100644 --- a/build.bat +++ b/build.bat @@ -8,6 +8,8 @@ set /p answer=Are you a developer of this project (Y/N)? if /i "%answer:~,1%" NEQ "Y" exit /b +@set PYTHONNOUSERSITE=1 + @mkdir dist\stable-diffusion-ui @echo "Downloading components for the installer.." @@ -15,11 +17,6 @@ if /i "%answer:~,1%" NEQ "Y" exit /b @call conda env create --prefix installer -f environment.yaml @call conda activate .\installer -@echo "Setting up startup scripts.." - -@mkdir installer\etc\conda\activate.d -@copy scripts\post_activate.bat installer\etc\conda\activate.d\ - @echo "Creating a distributable package.." @call conda install -c conda-forge -y conda-pack @@ -37,6 +34,7 @@ if /i "%answer:~,1%" NEQ "Y" exit /b @copy ..\..\LICENSE . @copy "..\..\CreativeML Open RAIL-M License" . @copy "..\..\How to install and run.txt" . +@echo "" > scripts\install_status.txt @echo "Build ready. Zip the 'dist\stable-diffusion-ui' folder." diff --git a/build.sh b/build.sh index 04579d1f..577dcb8b 100755 --- a/build.sh +++ b/build.sh @@ -11,6 +11,8 @@ case $yn in * ) exit;; esac +export PYTHONNOUSERSITE=1 + mkdir -p dist/stable-diffusion-ui echo "Downloading components for the installer.." @@ -38,6 +40,7 @@ cp ../../scripts/start.sh . cp ../../LICENSE . cp "../../CreativeML Open RAIL-M License" . cp "../../How to install and run.txt" . +echo "" > scripts/install_status.txt chmod u+x start.sh diff --git a/scripts/Start Stable Diffusion UI.cmd b/scripts/Start Stable Diffusion UI.cmd index 4f67c7bf..6bf6b290 100644 --- a/scripts/Start Stable Diffusion UI.cmd +++ b/scripts/Start Stable Diffusion UI.cmd @@ -1 +1,10 @@ -installer\Scripts\activate.bat +@call installer\Scripts\activate.bat + +@call conda-unpack + +@call conda --version +@call git --version + +@call scripts\on_env_start.bat + +@pause \ No newline at end of file diff --git a/scripts/start.sh b/scripts/start.sh index d6c75ad8..e077593a 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -4,4 +4,7 @@ source installer/bin/activate conda-unpack +conda --version +git --version + scripts/on_env_start.sh From 5facba441946bb62555591fa3cf8b6c1438b5f11 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Sat, 24 Sep 2022 23:23:35 +0530 Subject: [PATCH 02/35] [installer] No need to go back a folder now, we're already in the right location --- build.bat | 2 +- scripts/on_env_start.bat | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build.bat b/build.bat index 0cc6cf3f..96232c0a 100644 --- a/build.bat +++ b/build.bat @@ -34,7 +34,7 @@ if /i "%answer:~,1%" NEQ "Y" exit /b @copy ..\..\LICENSE . @copy "..\..\CreativeML Open RAIL-M License" . @copy "..\..\How to install and run.txt" . -@echo "" > scripts\install_status.txt +@echo. > scripts\install_status.txt @echo "Build ready. Zip the 'dist\stable-diffusion-ui' folder." diff --git a/scripts/on_env_start.bat b/scripts/on_env_start.bat index 16312a5a..959b5e20 100644 --- a/scripts/on_env_start.bat +++ b/scripts/on_env_start.bat @@ -4,8 +4,6 @@ set PATH=C:\Windows\System32;%PATH% -@cd .. - if exist "scripts\config.bat" ( @call scripts\config.bat ) From d14a13fcaf18a4eb83072172691a36b283e1f9ca Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Sat, 24 Sep 2022 23:38:56 +0530 Subject: [PATCH 03/35] Temporarily revert the System32 patch --- scripts/on_env_start.bat | 2 +- scripts/on_sd_start.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/on_env_start.bat b/scripts/on_env_start.bat index 16312a5a..8e46c62c 100644 --- a/scripts/on_env_start.bat +++ b/scripts/on_env_start.bat @@ -2,7 +2,7 @@ @echo. & echo "Stable Diffusion UI - v2" & echo. -set PATH=C:\Windows\System32;%PATH% +@REM set PATH=C:\Windows\System32;%PATH% @cd .. diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index b8ef042b..8c422865 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -79,7 +79,7 @@ @echo conda_sd_env_created >> ..\scripts\install_status.txt ) -set PATH=C:\Windows\System32;%PATH% +@REM set PATH=C:\Windows\System32;%PATH% @>nul grep -c "conda_sd_gfpgan_deps_installed" ..\scripts\install_status.txt @if "%ERRORLEVEL%" EQU "0" ( From 1bcb6738bba4653f1c38cda40f23d2b5e42c9fca Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Sat, 24 Sep 2022 23:56:59 +0530 Subject: [PATCH 04/35] Temporarily disable check for whether uvicorn is installed --- scripts/on_sd_start.bat | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 8c422865..3b6d1648 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -148,13 +148,13 @@ ) ) -call WHERE uvicorn > .tmp -@>nul grep -c "uvicorn" .tmp -@if "%ERRORLEVEL%" NEQ "0" ( - @echo. & echo "UI packages not found! Sorry about that, please try to:" & echo " 1. Run this installer again." & echo " 2. If that doesn't fix it, please try the common troubleshooting steps at https://github.com/cmdr2/stable-diffusion-ui/blob/main/Troubleshooting.md" & echo " 3. If those steps don't help, please copy *all* the error messages in this window, and ask the community at https://discord.com/invite/u9yhsFmEkB" & echo " 4. If that doesn't solve the problem, please file an issue at https://github.com/cmdr2/stable-diffusion-ui/issues" & echo "Thanks!" & echo. - pause - exit /b -) +@REM call WHERE uvicorn > .tmp +@REM @>nul grep -c "uvicorn" .tmp +@REM @if "%ERRORLEVEL%" NEQ "0" ( +@REM @echo. & echo "UI packages not found! Sorry about that, please try to:" & echo " 1. Run this installer again." & echo " 2. If that doesn't fix it, please try the common troubleshooting steps at https://github.com/cmdr2/stable-diffusion-ui/blob/main/Troubleshooting.md" & echo " 3. If those steps don't help, please copy *all* the error messages in this window, and ask the community at https://discord.com/invite/u9yhsFmEkB" & echo " 4. If that doesn't solve the problem, please file an issue at https://github.com/cmdr2/stable-diffusion-ui/issues" & echo "Thanks!" & echo. +@REM pause +@REM exit /b +@REM ) @>nul grep -c "conda_sd_ui_deps_installed" ..\scripts\install_status.txt @if "%ERRORLEVEL%" NEQ "0" ( From 489aae7a468675de7bafee007cd666faad6dc4ca Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Sun, 25 Sep 2022 00:03:15 +0530 Subject: [PATCH 05/35] Put back the System32 fix --- scripts/on_env_start.bat | 2 +- scripts/on_sd_start.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/on_env_start.bat b/scripts/on_env_start.bat index 8e46c62c..16312a5a 100644 --- a/scripts/on_env_start.bat +++ b/scripts/on_env_start.bat @@ -2,7 +2,7 @@ @echo. & echo "Stable Diffusion UI - v2" & echo. -@REM set PATH=C:\Windows\System32;%PATH% +set PATH=C:\Windows\System32;%PATH% @cd .. diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 8c422865..b8ef042b 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -79,7 +79,7 @@ @echo conda_sd_env_created >> ..\scripts\install_status.txt ) -@REM set PATH=C:\Windows\System32;%PATH% +set PATH=C:\Windows\System32;%PATH% @>nul grep -c "conda_sd_gfpgan_deps_installed" ..\scripts\install_status.txt @if "%ERRORLEVEL%" EQU "0" ( From e107037011b84adf3000f26e33af09a067921776 Mon Sep 17 00:00:00 2001 From: mrbusysky <58412572+mrbusysky@users.noreply.github.com> Date: Sat, 24 Sep 2022 22:00:42 -0700 Subject: [PATCH 06/35] Updated links to add the reddit --- ui/index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/index.html b/ui/index.html index e720a335..83f71d2c 100644 --- a/ui/index.html +++ b/ui/index.html @@ -21,8 +21,9 @@ @@ -121,7 +122,7 @@ - + From 547e640b579ebe2ca3b647f00131164b9c27b0f2 Mon Sep 17 00:00:00 2001 From: mrbusysky <58412572+mrbusysky@users.noreply.github.com> Date: Sat, 24 Sep 2022 22:21:19 -0700 Subject: [PATCH 07/35] Readme was not updated to have the new downloads --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cf88a8e5..6cd735ec 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ This distribution currently uses Stable Diffusion 1.4. Once the model for 1.5 be You do not need anything else. You do not need WSL, Docker or Conda. The installer will take care of it. # Installation -1. **Download** [for Windows](https://github.com/cmdr2/stable-diffusion-ui/releases/download/v2.05/stable-diffusion-ui-win64.zip) or [for Linux](https://github.com/cmdr2/stable-diffusion-ui/releases/download/v2.05/stable-diffusion-ui-linux.tar.xz). +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). 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). From d9fa2c4a62293217cde295e2c26941a00ed5d0d7 Mon Sep 17 00:00:00 2001 From: JeLuF Date: Sun, 25 Sep 2022 10:31:04 +0200 Subject: [PATCH 08/35] Advanced settings have been renamed The advanced settings have been renamed to image settings and system settings in the Web UI. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cf88a8e5..8b18d9b9 100644 --- a/README.md +++ b/README.md @@ -77,12 +77,17 @@ You can use Face Correction or Upscaling to improve the image further. ## Problems? Troubleshooting Please try the common [troubleshooting](Troubleshooting.md) steps. If that doesn't fix it, please ask on the [discord server](https://discord.com/invite/u9yhsFmEkB), or [file an issue](https://github.com/cmdr2/stable-diffusion-ui/issues). -# Advanced Settings -You can also set the configuration like `seed`, `width`, `height`, `num_outputs`, `num_inference_steps` and `guidance_scale` using the 'show' button next to 'Advanced settings'. +# Image Settings +You can also set the configuration like `seed`, `width`, `height`, `num_outputs`, `num_inference_steps` and `guidance_scale` using the 'show' button next to 'Image settings'. Use the same `seed` number to get the same image for a certain prompt. This is useful for refining a prompt without losing the basic image design. Enable the `random images` checkbox to get random images. ![Screenshot of advanced settings](media/config-v6.jpg?raw=true) + +# System Settings +The system settings are reachable via the cogwheel symbol on the top right. It can be used to configure whether all generated images should +saved be automically, or to tune the Stable Diffusion image generation. + ![Screenshot of advanced settings](media/system-settings-v2.jpg?raw=true) # Image Modifiers From b3e9b266fa2b9a958bc384ef1f4f20fa6178c7e4 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 26 Sep 2022 12:05:07 +0530 Subject: [PATCH 09/35] Use python 3.8.13 instead of 3.8.5, since 3.8.5 seems to be missing openssl in some pip repositories --- ui/sd_internal/env_yaml.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/ui/sd_internal/env_yaml.patch b/ui/sd_internal/env_yaml.patch index cc140ef1..ba4d2a19 100644 --- a/ui/sd_internal/env_yaml.patch +++ b/ui/sd_internal/env_yaml.patch @@ -1,7 +1,16 @@ diff --git a/environment.yaml b/environment.yaml -index 7f25da8..306750f 100644 +index 7f25da8..19ddcd8 100644 --- a/environment.yaml +++ b/environment.yaml +@@ -3,7 +3,7 @@ channels: + - pytorch + - defaults + dependencies: +- - python=3.8.5 ++ - python=3.8.13 + - pip=20.3 + - cudatoolkit=11.3 + - pytorch=1.11.0 @@ -23,6 +23,8 @@ dependencies: - torch-fidelity==0.3.0 - transformers==4.19.2 From 2a46f6b225ea9cd4f357582af0277fe7b5d1b5fc Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 26 Sep 2022 19:19:11 +0530 Subject: [PATCH 10/35] Make the new installer work with existing installations (made with the old installer) --- scripts/Start Stable Diffusion UI.cmd | 9 +++++++++ scripts/on_env_start.bat | 2 ++ 2 files changed, 11 insertions(+) diff --git a/scripts/Start Stable Diffusion UI.cmd b/scripts/Start Stable Diffusion UI.cmd index 6bf6b290..e34c2b36 100644 --- a/scripts/Start Stable Diffusion UI.cmd +++ b/scripts/Start Stable Diffusion UI.cmd @@ -1,3 +1,10 @@ +@echo off + +@REM Delete the post-activate hook from the old installer +@if exist "installer\etc\conda\activate.d\post_activate.bat" ( + del "installer\etc\conda\activate.d\post_activate.bat" +) + @call installer\Scripts\activate.bat @call conda-unpack @@ -5,6 +12,8 @@ @call conda --version @call git --version +@cd installer + @call scripts\on_env_start.bat @pause \ No newline at end of file diff --git a/scripts/on_env_start.bat b/scripts/on_env_start.bat index 959b5e20..16312a5a 100644 --- a/scripts/on_env_start.bat +++ b/scripts/on_env_start.bat @@ -4,6 +4,8 @@ set PATH=C:\Windows\System32;%PATH% +@cd .. + if exist "scripts\config.bat" ( @call scripts\config.bat ) From 300159c03b85b4388d33c9055fcb89da959729ad Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 26 Sep 2022 19:40:52 +0530 Subject: [PATCH 11/35] Temporarily disable the check for whitelisted ckpt weights --- scripts/on_sd_start.bat | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 3b6d1648..7d633757 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -165,16 +165,17 @@ @if exist "sd-v1-4.ckpt" ( for %%I in ("sd-v1-4.ckpt") do if "%%~zI" EQU "4265380512" ( - echo "Data files (weights) necessary for Stable Diffusion were already downloaded" + echo "Data files (weights) necessary for Stable Diffusion were already downloaded. Using the HuggingFace 4 GB Model." ) else ( for %%J in ("sd-v1-4.ckpt") do if "%%~zJ" EQU "7703807346" ( - echo "Data files (weights) necessary for Stable Diffusion were already downloaded" + echo "Data files (weights) necessary for Stable Diffusion were already downloaded. Using the HuggingFace 7 GB Model." ) else ( for %%K in ("sd-v1-4.ckpt") do if "%%~zK" EQU "7703810927" ( - echo "Data files (weights) necessary for Stable Diffusion were already downloaded" + echo "Data files (weights) necessary for Stable Diffusion were already downloaded. Using the Waifu Model." ) else ( - echo. & echo "The model file present at %cd%\sd-v1-4.ckpt is invalid. It is only %%~zK bytes in size. Re-downloading.." & echo. - del "sd-v1-4.ckpt" + @REM echo. & echo "The model file present at %cd%\sd-v1-4.ckpt is invalid. It is only %%~zK bytes in size. Re-downloading.." & echo. + @REM del "sd-v1-4.ckpt" + echo. & echo "It looks like you're using a custom weights file. File size: %%~zK bytes" & echo. ) ) ) From ca704e1d517997509934b21cb9ebe4751517f1d9 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 26 Sep 2022 20:07:04 +0530 Subject: [PATCH 12/35] Revert "Merge pull request #250 from cmdr2/win-installer-no-activate" This reverts commit 04eb356c891530b9f5dfe6a7e4e4098367b700b7, reversing changes made to 300159c03b85b4388d33c9055fcb89da959729ad. --- build.bat | 8 +++++--- build.sh | 3 --- scripts/Start Stable Diffusion UI.cmd | 20 +------------------- scripts/on_env_start.bat | 2 +- scripts/on_sd_start.bat | 2 +- scripts/start.sh | 3 --- ui/sd_internal/env_yaml.patch | 11 +---------- 7 files changed, 9 insertions(+), 40 deletions(-) diff --git a/build.bat b/build.bat index 96232c0a..d1bcaab7 100644 --- a/build.bat +++ b/build.bat @@ -8,8 +8,6 @@ set /p answer=Are you a developer of this project (Y/N)? if /i "%answer:~,1%" NEQ "Y" exit /b -@set PYTHONNOUSERSITE=1 - @mkdir dist\stable-diffusion-ui @echo "Downloading components for the installer.." @@ -17,6 +15,11 @@ if /i "%answer:~,1%" NEQ "Y" exit /b @call conda env create --prefix installer -f environment.yaml @call conda activate .\installer +@echo "Setting up startup scripts.." + +@mkdir installer\etc\conda\activate.d +@copy scripts\post_activate.bat installer\etc\conda\activate.d\ + @echo "Creating a distributable package.." @call conda install -c conda-forge -y conda-pack @@ -34,7 +37,6 @@ if /i "%answer:~,1%" NEQ "Y" exit /b @copy ..\..\LICENSE . @copy "..\..\CreativeML Open RAIL-M License" . @copy "..\..\How to install and run.txt" . -@echo. > scripts\install_status.txt @echo "Build ready. Zip the 'dist\stable-diffusion-ui' folder." diff --git a/build.sh b/build.sh index 577dcb8b..04579d1f 100755 --- a/build.sh +++ b/build.sh @@ -11,8 +11,6 @@ case $yn in * ) exit;; esac -export PYTHONNOUSERSITE=1 - mkdir -p dist/stable-diffusion-ui echo "Downloading components for the installer.." @@ -40,7 +38,6 @@ cp ../../scripts/start.sh . cp ../../LICENSE . cp "../../CreativeML Open RAIL-M License" . cp "../../How to install and run.txt" . -echo "" > scripts/install_status.txt chmod u+x start.sh diff --git a/scripts/Start Stable Diffusion UI.cmd b/scripts/Start Stable Diffusion UI.cmd index e34c2b36..4f67c7bf 100644 --- a/scripts/Start Stable Diffusion UI.cmd +++ b/scripts/Start Stable Diffusion UI.cmd @@ -1,19 +1 @@ -@echo off - -@REM Delete the post-activate hook from the old installer -@if exist "installer\etc\conda\activate.d\post_activate.bat" ( - del "installer\etc\conda\activate.d\post_activate.bat" -) - -@call installer\Scripts\activate.bat - -@call conda-unpack - -@call conda --version -@call git --version - -@cd installer - -@call scripts\on_env_start.bat - -@pause \ No newline at end of file +installer\Scripts\activate.bat diff --git a/scripts/on_env_start.bat b/scripts/on_env_start.bat index 16312a5a..8e46c62c 100644 --- a/scripts/on_env_start.bat +++ b/scripts/on_env_start.bat @@ -2,7 +2,7 @@ @echo. & echo "Stable Diffusion UI - v2" & echo. -set PATH=C:\Windows\System32;%PATH% +@REM set PATH=C:\Windows\System32;%PATH% @cd .. diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index 1c7b8644..7d633757 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -79,7 +79,7 @@ @echo conda_sd_env_created >> ..\scripts\install_status.txt ) -set PATH=C:\Windows\System32;%PATH% +@REM set PATH=C:\Windows\System32;%PATH% @>nul grep -c "conda_sd_gfpgan_deps_installed" ..\scripts\install_status.txt @if "%ERRORLEVEL%" EQU "0" ( diff --git a/scripts/start.sh b/scripts/start.sh index e077593a..d6c75ad8 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -4,7 +4,4 @@ source installer/bin/activate conda-unpack -conda --version -git --version - scripts/on_env_start.sh diff --git a/ui/sd_internal/env_yaml.patch b/ui/sd_internal/env_yaml.patch index ba4d2a19..cc140ef1 100644 --- a/ui/sd_internal/env_yaml.patch +++ b/ui/sd_internal/env_yaml.patch @@ -1,16 +1,7 @@ diff --git a/environment.yaml b/environment.yaml -index 7f25da8..19ddcd8 100644 +index 7f25da8..306750f 100644 --- a/environment.yaml +++ b/environment.yaml -@@ -3,7 +3,7 @@ channels: - - pytorch - - defaults - dependencies: -- - python=3.8.5 -+ - python=3.8.13 - - pip=20.3 - - cudatoolkit=11.3 - - pytorch=1.11.0 @@ -23,6 +23,8 @@ dependencies: - torch-fidelity==0.3.0 - transformers==4.19.2 From e67843638fafeea7cff3334d909c81c2f2b3f6f4 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 26 Sep 2022 20:11:33 +0530 Subject: [PATCH 13/35] Fix errors with the new installer --- scripts/Start Stable Diffusion UI.cmd | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/Start Stable Diffusion UI.cmd b/scripts/Start Stable Diffusion UI.cmd index e34c2b36..f3af626c 100644 --- a/scripts/Start Stable Diffusion UI.cmd +++ b/scripts/Start Stable Diffusion UI.cmd @@ -1,9 +1,7 @@ @echo off @REM Delete the post-activate hook from the old installer -@if exist "installer\etc\conda\activate.d\post_activate.bat" ( - del "installer\etc\conda\activate.d\post_activate.bat" -) +echo. > installer\etc\conda\activate.d\post_activate.bat @call installer\Scripts\activate.bat @@ -14,6 +12,6 @@ @cd installer -@call scripts\on_env_start.bat +@call ..\scripts\on_env_start.bat @pause \ No newline at end of file From 939dd0b2079be371733893f8d1611bace555883d Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 26 Sep 2022 23:02:03 +0530 Subject: [PATCH 14/35] Empty the post-activate hook only if it exists --- scripts/Start Stable Diffusion UI.cmd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/Start Stable Diffusion UI.cmd b/scripts/Start Stable Diffusion UI.cmd index f3af626c..2f3e32f9 100644 --- a/scripts/Start Stable Diffusion UI.cmd +++ b/scripts/Start Stable Diffusion UI.cmd @@ -1,7 +1,9 @@ @echo off @REM Delete the post-activate hook from the old installer -echo. > installer\etc\conda\activate.d\post_activate.bat +if exist "installer\etc\conda\activate.d\post_activate.bat" ( + echo. > installer\etc\conda\activate.d\post_activate.bat +) @call installer\Scripts\activate.bat From a10c4f7a34670f765139fb8b7a6dd200e5f25d6b Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 26 Sep 2022 23:11:21 +0530 Subject: [PATCH 15/35] v2.16 links --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cf88a8e5..6cd735ec 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ This distribution currently uses Stable Diffusion 1.4. Once the model for 1.5 be You do not need anything else. You do not need WSL, Docker or Conda. The installer will take care of it. # Installation -1. **Download** [for Windows](https://github.com/cmdr2/stable-diffusion-ui/releases/download/v2.05/stable-diffusion-ui-win64.zip) or [for Linux](https://github.com/cmdr2/stable-diffusion-ui/releases/download/v2.05/stable-diffusion-ui-linux.tar.xz). +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). 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). From 926ffefac8f7aff41198b0539cbb4956b0b95b7d Mon Sep 17 00:00:00 2001 From: mrbusysky <58412572+mrbusysky@users.noreply.github.com> Date: Mon, 26 Sep 2022 21:24:20 -0700 Subject: [PATCH 16/35] Correction of link position and correction of the label being on the wrong line. --- ui/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/index.html b/ui/index.html index 83f71d2c..846b1d0f 100644 --- a/ui/index.html +++ b/ui/index.html @@ -21,9 +21,9 @@ @@ -122,7 +122,8 @@ - + +