Update and rename install.sh to install1.sh

This commit is contained in:
RomanNum3ral 2024-07-22 06:28:52 -04:00 committed by GitHub
parent 4d73ef7573
commit b8f88bdc5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 19 deletions

View File

@ -22,22 +22,3 @@ sudo docker ps
# Add llama2 language model
ollama pull llama2
# Install prerequisites for Stable Diffusion
sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev git pip
# Install Stable Diffusion
curl https://pyenv.run | bash
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
source .bashrc
pyenv install 3.10
pyenv global 3.10
cd
mkdir stablediff
cd stablediff
wget https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh
sudo chmod +x webui.sh
./webui.sh --listen --api