-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.bat
More file actions
25 lines (19 loc) · 739 Bytes
/
install.bat
File metadata and controls
25 lines (19 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@echo off
REM Check for Python and exit if not found
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo Python is not installed. Please install Python and retry.
exit /b
)
REM Create a virtual environment
python -m venv stable-cascade
REM Activate the virtual environment
call stable-cascade\Scripts\activate.bat
REM Install the custom diffusers version from GitHub
pip install git+https://github.com/kashif/diffusers.git@wuerstchen-v3
REM Install xFormers
pip install xformers==0.0.22.post4 --index-url https://download.pytorch.org/whl/cu118
REM Install other requirements
pip install -r requirements.txt
echo Installation completed. Double-click WebUI.bat file next to start generating!
pause