Add Forge

Add Automatic1111-Forge:
https://github.com/lllyasviel/stable-diffusion-webui-forge
This commit is contained in:
theunpleasantowl
2024-11-19 20:28:13 -05:00
parent 802d0bcd68
commit cae1586b45
13 changed files with 285 additions and 21 deletions

10
services/AUTOMATIC1111/clone.sh Normal file → Executable file
View File

@@ -1,11 +1,15 @@
#!/bin/bash
set -Eeuox pipefail
set -Eeox pipefail
mkdir -p /repositories/"$1"
cd /repositories/"$1"
git init
git remote add origin "$2"
git fetch origin "$3" --depth=1
git reset --hard "$3"
if [ -n "$3" ]; then
git fetch origin "$3" --depth=1
git reset --hard "$3"
fi
rm -rf .git