Created
September 29, 2023 20:50
-
-
Save appliedintelligencelab/a77341614514296cf8f07030f9f073ab to your computer and use it in GitHub Desktop.
Powershell script to start Stable Diffusion Web UI (change first line)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fullPath = "C:\Users\appli\Apps\stable-diffusion-webui\webui.py" | |
$path = Split-Path $fullPath -Parent | |
$file = Split-Path $fullPath -leaf | |
$Env:COMMANDLINE_ARGS = "--xformers --autolaunch --no-half-vae" | |
$Env:CUDA_VISIBLE_DEVICES = "0" | |
cd "$path" | |
.\venv\Scripts\activate | |
python $file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment