cd /home/Ubuntu/apps/stable-diffusion-webui 
git pull
wget https://huggingface.co/MonsterMMORPG/SECourses/resolve/main/styles.csv -O styles.csv
cd /home/Ubuntu/apps/stable-diffusion-webui/extensions
git clone https://github.com/Bing-su/adetailer
git clone https://github.com/Mikubill/sd-webui-controlnet
git clone https://github.com/diffus-me/sd-webui-facefusion
git clone https://github.com/Gourieff/sd-webui-reactor
source /home/Ubuntu/apps/stable-diffusion-webui/venv/bin/activate
conda install -c conda-forge gcc_linux-64 gxx_linux-64 --yes

sudo apt update --yes
sudo apt install ffmpeg --yes

pip install torch==2.3.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 --upgrade
pip install xformers==0.0.26.post1 --upgrade
pip install basicsr
pip install realesrgan
pip install --upgrade albumentations==1.4.3
pip install --upgrade pydantic==1.10.14
pip install insightface==0.7.3