Update install.sh
Browse files- install.sh +2 -34
install.sh
CHANGED
|
@@ -1,11 +1,4 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
-
|
| 3 |
-
# 1 2 3 4 ..
|
| 4 |
-
CHECKPOINT=$1
|
| 5 |
-
|
| 6 |
-
# 1 2 3 4 5 ..
|
| 7 |
-
RC=$2
|
| 8 |
-
|
| 9 |
cd /workspace/firstContainer
|
| 10 |
mkdir -p tmp
|
| 11 |
rm -rf README.md
|
|
@@ -59,33 +52,8 @@ if [ ! -d "models" ]; then
|
|
| 59 |
curl -L -O https://github.com/Mikubill/sd-webui-controlnet/blob/main/annotator/oneformer/oneformer/data/bpe_simple_vocab_16e6.txt.gz
|
| 60 |
fi
|
| 61 |
|
| 62 |
-
cd /workspace/firstContainer/SD
|
| 63 |
-
|
| 64 |
-
1)
|
| 65 |
-
wget -N https://huggingface.co/zuv0/test/resolve/main/petitcutie_v20.safetensors
|
| 66 |
-
;;
|
| 67 |
-
2)
|
| 68 |
-
wget -N https://huggingface.co/zuv0/test/resolve/main/milkTea_p.safetensors
|
| 69 |
-
;;
|
| 70 |
-
3)
|
| 71 |
-
wget -N https://huggingface.co/JosefJilek/loliDiffusion/resolve/main/loliDiffusionV0.14.0_RabbitV7_1.0M6-CLIP_VAE_FP16.safetensors
|
| 72 |
-
;;
|
| 73 |
-
4)
|
| 74 |
-
wget -N https://huggingface.co/zuv0/test/resolve/main/lemonmixV2_v30.safetensors
|
| 75 |
-
;;
|
| 76 |
-
*)
|
| 77 |
-
echo "CHECKPOINT error!"
|
| 78 |
-
;;
|
| 79 |
-
esac
|
| 80 |
-
|
| 81 |
-
cd /workspace/firstContainer/SD/models/Lora
|
| 82 |
-
if [ ! -d "RC$RC" ]; then
|
| 83 |
-
git clone https://huggingface.co/zuv0/RC$RC
|
| 84 |
-
cd RC$RC
|
| 85 |
-
git repack -a -d --depth=250 --window=250
|
| 86 |
-
cd .git
|
| 87 |
-
rm -rf lfs
|
| 88 |
-
fi
|
| 89 |
|
| 90 |
cd /workspace/firstContainer
|
| 91 |
apt-get install -y libgl1-mesa-glx
|
|
|
|
| 1 |
#!/bin/bash
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
cd /workspace/firstContainer
|
| 3 |
mkdir -p tmp
|
| 4 |
rm -rf README.md
|
|
|
|
| 52 |
curl -L -O https://github.com/Mikubill/sd-webui-controlnet/blob/main/annotator/oneformer/oneformer/data/bpe_simple_vocab_16e6.txt.gz
|
| 53 |
fi
|
| 54 |
|
| 55 |
+
cd /workspace/firstContainer/SD
|
| 56 |
+
sh downs.sh $1 $2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
cd /workspace/firstContainer
|
| 59 |
apt-get install -y libgl1-mesa-glx
|