Update sd.sh
Browse files
sd.sh
CHANGED
|
@@ -1,14 +1,11 @@
|
|
| 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 |
-
|
| 11 |
-
cd ..
|
| 12 |
-
cd ..
|
| 13 |
-
HF_ENDPOINT=https://hf-mirror.com python launch.py --api --port=7864
|
| 14 |
|
|
|
|
| 1 |
apt update
|
| 2 |
apt install -y aria2
|
| 3 |
+
cd root && git clone -b dev https://ghp.ci/https://github.com/AUTOMATIC1111/stable-diffusion-webui
|
| 4 |
+
cd /root/stable-diffusion-webui
|
| 5 |
+
cd /root/stable-diffusion-webui && 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 |
+
cd /root/stable-diffusion-webui && 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 |
+
cd /root/stable-diffusion-webui && 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 /root/stable-diffusion-webui/models/VAE-approx && wget -O vaeapprox-sdxl.pt "https://www.modelscope.cn/models/ACCC1380/Noobxl/resolve/master/vaeapprox-sdxl.pt" --no-check-certificate
|
| 10 |
+
cd /root/stable-diffusion-webui && HF_ENDPOINT=https://hf-mirror.com python launch.py --api --port=7864
|
|
|
|
|
|
|
|
|
|
| 11 |
|