cymic/Waifu_Diffusion_Webui
1
1#!/bin/bash2#########################################################3# Uncomment and change the variables below to your need:#4#########################################################5 6# Install directory without trailing slash7#install_dir="/home/$(whoami)"8 9# Name of the subdirectory10#clone_dir="stable-diffusion-webui"11 12# Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS="--medvram --opt-split-attention"13export COMMANDLINE_ARGS=""14 15# python3 executable16#python_cmd="python3"17 18# git executable19#export GIT="git"20 21# python3 venv without trailing slash (defaults to ${install_dir}/${clone_dir}/venv)22#venv_dir="venv"23 24# script to launch to start the app25#export LAUNCH_SCRIPT="launch.py"26 27# install command for torch28#export TORCH_COMMAND="pip install torch==1.12.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113"29 30# Requirements file to use for stable-diffusion-webui31#export REQS_FILE="requirements_versions.txt"32 33# Fixed git repos34#export K_DIFFUSION_PACKAGE=""35#export GFPGAN_PACKAGE=""36 37# Fixed git commits38#export STABLE_DIFFUSION_COMMIT_HASH=""39#export TAMING_TRANSFORMERS_COMMIT_HASH=""40#export CODEFORMER_COMMIT_HASH=""41#export BLIP_COMMIT_HASH=""42 43###########################################44 