mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-02-03 06:13:06 -08:00
conditionally add extensions
This commit is contained in:
parent
46d47b7b2b
commit
ebc5fcb58c
1 changed files with 8 additions and 4 deletions
12
.github/workflows/on_merge_to_master.yaml
vendored
12
.github/workflows/on_merge_to_master.yaml
vendored
|
|
@ -29,17 +29,21 @@ jobs:
|
|||
# Navigate to the models folder and download required files
|
||||
cd models
|
||||
# Example: Downloading a model file (adjust the URL)
|
||||
if [ ! -f model_file_name ]; then
|
||||
wget https://huggingface.co/stabilityai/stable-diffusion-2/resolve/main/768-v-ema.safetensors
|
||||
fi
|
||||
# if [ ! -f model_file_name ]; then
|
||||
# wget https://huggingface.co/stabilityai/stable-diffusion-2/resolve/main/768-v-ema.safetensors
|
||||
# fi
|
||||
|
||||
# Navigate to the extensions folder and clone repos
|
||||
cd ../extensions
|
||||
if [ ! -d your-extension-folder ]; then
|
||||
if [ ! -d "sd-webui-deforum/.git" ]; then
|
||||
git clone https://github.com/deforum-art/sd-webui-deforum
|
||||
fi
|
||||
|
||||
if [ ! -d "sd-webui-controlnet/.git" ]; then
|
||||
git clone https://github.com/Mikubill/sd-webui-controlnet
|
||||
fi
|
||||
|
||||
|
||||
# Return to the main project directory
|
||||
cd ..
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue