Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions 07.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
source /functions.sh

export PATH="/home/abc/miniconda3/bin:$PATH"
export SD07_DIR=${BASE_DIR}/07-StableSwarm
export SD07_DIR=${BASE_DIR}/07-SwarmUI

mkdir -p ${SD07_DIR}
mkdir -p /config/outputs/07-StableSwarm
mkdir -p /config/outputs/07-SwarmUI

#remove old venv if still exists
if [ -d ${SD07_DIR}/venv ]; then
Expand All @@ -18,12 +18,12 @@ if [ ! -f "$SD07_DIR/parameters.txt" ]; then
fi

#clone repository if new install
if [ ! -d ${SD07_DIR}/StableSwarmUI ]; then
cd "${SD07_DIR}" && git clone https://github.com/Stability-AI/StableSwarmUI.git
if [ ! -d ${SD07_DIR}/SwarmUI ]; then
cd "${SD07_DIR}" && git clone https://github.com/mcmonkeyprojects/SwarmUI.git
fi

# check if remote is ahead of local
cd ${SD07_DIR}/StableSwarmUI
cd ${SD07_DIR}/SwarmUI
check_remote

#clean conda env if needed
Expand All @@ -40,19 +40,19 @@ conda install -n base conda-libmamba-solver -y
conda install -c conda-forge git python=3.11 pip --solver=libmamba -y

#move models to common folder and create symlinks
mkdir -p ${SD07_DIR}/StableSwarmUI/Models
mkdir -p ${SD07_DIR}/SwarmUI/Models

sl_folder ${SD07_DIR}/StableSwarmUI/Models Stable-Diffusion ${BASE_DIR}/models stable-diffusion
sl_folder ${SD07_DIR}/StableSwarmUI/Models Lora ${BASE_DIR}/models lora
sl_folder ${SD07_DIR}/StableSwarmUI/Models VAE ${BASE_DIR}/models vae
sl_folder ${SD07_DIR}/StableSwarmUI/Models Embeddings ${BASE_DIR}/models embeddings
sl_folder ${SD07_DIR}/StableSwarmUI/Models clip_vision ${BASE_DIR}/models clip_vision
sl_folder ${SD07_DIR}/StableSwarmUI/Models controlnet ${BASE_DIR}/models controlnet
sl_folder ${SD07_DIR}/SwarmUI/Models Stable-Diffusion ${BASE_DIR}/models stable-diffusion
sl_folder ${SD07_DIR}/SwarmUI/Models Lora ${BASE_DIR}/models lora
sl_folder ${SD07_DIR}/SwarmUI/Models VAE ${BASE_DIR}/models vae
sl_folder ${SD07_DIR}/SwarmUI/Models Embeddings ${BASE_DIR}/models embeddings
sl_folder ${SD07_DIR}/SwarmUI/Models clip_vision ${BASE_DIR}/models clip_vision
sl_folder ${SD07_DIR}/SwarmUI/Models controlnet ${BASE_DIR}/models controlnet

sl_folder ${SD07_DIR}/StableSwarmUI Output ${BASE_DIR}/outputs 07-StableSwarm
sl_folder ${SD07_DIR}/SwarmUI Output ${BASE_DIR}/outputs 07-Swarm

#launch Stable Swarm
cd ${SD07_DIR}/StableSwarmUI
#launch SwarmUI
cd ${SD07_DIR}/SwarmUI
CMD="./launch-linux.sh"
while IFS= read -r param; do
if [[ $param != \#* ]]; then
Expand Down
2 changes: 1 addition & 1 deletion 50.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fi
cd ${SD50_DIR}/IOPaint
#pip install -r requirements.txt

pip3 install iopaint
pip3 install --upgrade iopaint

CMD="iopaint start"
while IFS= read -r param; do
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Please consult each respective website for a comprehensive description and usage
| 04 | SD.Next | This project started as a fork from Automatic1111 WebUI and it grew significantly | https://github.com/vladmandic/automatic |
| 05 | ComfyUI | A powerful and modular stable diffusion GUI and backend | https://github.com/comfyanonymous/ComfyUI |
| 06 | Fooocus | Fooocus is a rethinking of Stable Diffusion and Midjourney’s designs | https://github.com/lllyasviel/Fooocus |
| 07 | StableSwarm | A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and extensibility. | https://github.com/Stability-AI/StableSwarmUI |
| 07 | SwarmUI | A Modular Stable Diffusion Web-User-Interface, with an emphasis on making powertools easily accessible, high performance, and extensibility. | https://github.com/mcmonkeyprojects/SwarmUI |
| 50 | Lama Cleaner | A free and open-source inpainting tool powered by SOTA AI model. | https://github.com/Sanster/lama-cleaner |
| 51 | FaceFusion | Next generation face swapper and enhancer | https://github.com/facefusion/facefusion |
| 70 | Kohya | Kohya's GUI provides a Windows-focused Gradio GUI for Kohya's Stable Diffusion trainers | https://github.com/bmaltais/kohya_ss |
Expand All @@ -36,7 +36,7 @@ docker compose --profile invoke-ai up # http://<server_ip>:9003
docker compose --profile sd-next up # http://<server_ip>:9004
docker compose --profile comfy-ui up # http://<server_ip>:9005
docker compose --profile fooocus up # http://<server_ip>:9006
docker compose --profile stable-swarm up # http://<server_ip>:9007
docker compose --profile swarmui up # http://<server_ip>:9007
docker compose --profile lama-cleaner up # http://<server_ip>:9050
docker compose --profile face-fusion up # http://<server_ip>:9051
docker compose --profile kohya up # http://<server_ip>:9070
Expand Down Expand Up @@ -72,7 +72,7 @@ make start invoke-ai # http://<server_ip>:9003
make start sd-next # http://<server_ip>:9004
make start comfy-ui # http://<server_ip>:9005
make start fooocus # http://<server_ip>:9006
make start stable-swarm # http://<server_ip>:9007
make start swarmui # http://<server_ip>:9007
make start lama-cleaner # http://<server_ip>:9050
make start face-fusion # http://<server_ip>:9051
make start kohya # http://<server_ip>:9070
Expand Down
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@ services:
ports:
- ${FOOOCUS_PORT:-9006}:9000/tcp

stable-diffusion-stable-swarm:
stable-diffusion-swarmui:
<<: *default-service
profiles: [stable-swarm]
container_name: stable-diffusion-stable-swarm
profiles: [swarmui]
container_name: stable-diffusion-swarmui
environment:
<<: *default-environment
WEBUI_VERSION: '07'
ports:
- ${STABLE_SWARM_PORT:-9007}:9000/tcp
- ${SWARMUI_PORT:-9007}:9000/tcp

stable-diffusion-lama-cleaner:
<<: *default-service
Expand Down