Xeno443 commited on
Commit
9085444
·
verified ·
1 Parent(s): daa5b09

Upload 5 files

Browse files
runscripts/get-models.bat CHANGED
@@ -28,12 +28,12 @@ IF NOT EXIST "webui\models\ControlNet" MD "webui\models\ControlNet"
28
  curl --skip-existing -L "https://huggingface.co/xinsir/controlnet-union-sdxl-1.0/resolve/main/diffusion_pytorch_model_promax.safetensors" -o "webui\models\ControlNet\Union_sdxlv1_promax.safetensors"
29
  ECHO.
30
 
31
- ECHO If you don't have a base model downloaded yet, contine to download. Otherwise close this window now.
32
  PAUSE
33
 
34
  ECHO.
35
- ECHO Downloading StableMondAI-SDG model ...
36
- curl --skip-existing -L "https://huggingface.co/Xeno443/StableMondAI-SDG/resolve/main/StableMondAI-SDG.safetensors" -o "webui\models\Stable-diffusion\StableMondAI-SDG.safetensors"
37
  ECHO.
38
 
39
  ECHO Done
 
28
  curl --skip-existing -L "https://huggingface.co/xinsir/controlnet-union-sdxl-1.0/resolve/main/diffusion_pytorch_model_promax.safetensors" -o "webui\models\ControlNet\Union_sdxlv1_promax.safetensors"
29
  ECHO.
30
 
31
+ ECHO If you don't have a base model downloaded yet, contine to download one. Otherwise close this window now.
32
  PAUSE
33
 
34
  ECHO.
35
+ ECHO Downloading 3WolfMondAI-SDG model ...
36
+ curl --skip-existing -L "https://huggingface.co/Xeno443/3wolfMondAI-SDG/resolve/main/3WolfMondAI-SDG.safetensors" -o "webui\models\Stable-diffusion\3WolfMondAI-SDG.safetensors"
37
  ECHO.
38
 
39
  ECHO Done
runscripts/run.bat CHANGED
@@ -1,7 +1,7 @@
1
  @echo off
2
-
3
  call environment.bat passive
 
 
 
 
4
 
5
- cd %~dp0webui
6
- ECHO Launching webui ...
7
- call webui-user.bat
 
1
  @echo off
 
2
  call environment.bat passive
3
+ pushd %~dp0webui
4
+ ECHO Launching webui-user.bat ...
5
+ CALL webui-user.bat
6
+ popd
7
 
 
 
 
runscripts/update-webui.bat ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ call environment.bat passive
3
+ setlocal enabledelayedexpansion
4
+ ECHO.
5
+ pushd "%~dp0\webui"
6
+
7
+ set "current_branch="
8
+ for /f "delims=" %%C in ('git rev-parse --abbrev-ref HEAD 2^>nul') do set "current_branch=%%C"
9
+
10
+ if not defined current_branch (
11
+ echo Current branch: [no branch information available]
12
+ ) else if /i "!current_branch!"=="HEAD" (
13
+ echo Current branch: [detached HEAD]
14
+ ) else (
15
+ echo Current branch: !current_branch!
16
+ )
17
+ ECHO Trying to update to latest version ...
18
+ git pull 2>NUL
19
+ if %ERRORLEVEL% == 0 goto :done
20
+ ECHO git clone returned errorlevel %ERRORLEVEL%, initiating hard reset ...
21
+ git reset --hard
22
+ git pull
23
+
24
+ :done
25
+ popd
26
+ pause