From a4305540f01bf4b3bb6f5b7394b74d22a0b41ccb Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Thu, 8 Sep 2022 23:23:02 +0530 Subject: [PATCH] use a certain working version of SD --- scripts/on_sd_start.bat | 5 +++++ scripts/on_sd_start.sh | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/scripts/on_sd_start.bat b/scripts/on_sd_start.bat index ddfb22bb..aa1ce248 100644 --- a/scripts/on_sd_start.bat +++ b/scripts/on_sd_start.bat @@ -11,6 +11,7 @@ @call git reset --hard @call git pull + @call git checkout d154155d4c0b43e13ec1f00eb72b7ff9d522fcf9 @cd .. ) else ( @@ -23,6 +24,10 @@ pause @exit /b ) + + @cd stable-diffusion + @call git checkout d154155d4c0b43e13ec1f00eb72b7ff9d522fcf9 + @cd .. ) @cd stable-diffusion diff --git a/scripts/on_sd_start.sh b/scripts/on_sd_start.sh index 7e647a86..36d2c9e3 100755 --- a/scripts/on_sd_start.sh +++ b/scripts/on_sd_start.sh @@ -14,6 +14,7 @@ if [ -e "scripts/install_status.txt" ] && [ `grep -c sd_git_cloned scripts/insta git reset --hard git pull + git checkout d154155d4c0b43e13ec1f00eb72b7ff9d522fcf9 cd .. else @@ -26,6 +27,10 @@ else read -p "Press any key to continue" exit fi + + cd stable-diffusion + git checkout d154155d4c0b43e13ec1f00eb72b7ff9d522fcf9 + cd .. fi cd stable-diffusion