Upload sd.sh
Browse files
sd.sh
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
apt update
|
| 2 |
+
apt install -y aria2
|
| 3 |
+
git clone -b dev https://ghp.ci/https://github.com/AUTOMATIC1111/stable-diffusion-webui
|
| 4 |
+
cd stable-diffusion-webui
|
| 5 |
+
wget -O rep_github.py "https://hf-mirror.com/datasets/ACCA225/useful_code/raw/main/github%E5%BC%BA%E5%88%B6%E6%8D%A2%E6%BA%90.py" --no-check-certificate
|
| 6 |
+
python rep_github.py
|
| 7 |
+
#aria2c -x 16 -s 16 -c -k 1M "https://hf-mirror.com/datasets/ACCC1380/private-model/resolve/main/model/NoobXL-V-Pred-test%20Version.safetensors?download=true" -o NoobXL-V-pred.safetensors -d models/Stable-diffusion
|
| 8 |
+
aria2c -x 16 -s 16 -c -k 1M "https://www.modelscope.cn/models/ACCC1380/Noob_Final/resolve/master/Noob_v1.0.safetensors" -o NoobXL-v1.0.safetensors -d models/Stable-diffusion
|
| 9 |
+
cd models/VAE-approx
|
| 10 |
+
wget -O vaeapprox-sdxl.pt "https://www.modelscope.cn/models/ACCC1380/Noobxl/resolve/master/vaeapprox-sdxl.pt" --no-check-certificate
|
| 11 |
+
cd ..
|
| 12 |
+
cd ..
|
| 13 |
+
HF_ENDPOINT=https://hf-mirror.com python launch.py --api --port=7864
|
| 14 |
+
|