nyan102 commited on
Commit
2a6b7e0
·
verified ·
1 Parent(s): 5109651

Update sd.sh

Browse files
Files changed (1) hide show
  1. sd.sh +3 -3
sd.sh CHANGED
@@ -1,4 +1,5 @@
1
- #jupyter-lab --no-browser --ip=0.0.0.0 --allow-root --notebook-dir=/ --port=65432 --LabApp.allow_origin=* --LabApp.token=Qq2575044704 --LabApp.base_url=/loves & ngrok http 65432 --authtoken=2o6kf1HcwQl35OxTpUPds2To0Fb_XggWRYTeY6dserXqtiP2
 
2
  cd /root && git clone -b dev https://ghp.ci/https://github.com/AUTOMATIC1111/stable-diffusion-webui
3
  cd /root/stable-diffusion-webui
4
  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,5 +7,4 @@ cd /root/stable-diffusion-webui && python rep_github.py
6
  #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
7
  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
8
  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
9
- cd /root/stable-diffusion-webui
10
- HF_ENDPOINT=https://hf-mirror.com python launch.py --api --port=7864
 
1
+ cd /root && git clone -b dev https://ghp.ci/https://github.com/AUTOMATIC1111/stable-diffusion-webui
2
+ cd /root && git clone -b dev https://ghp.ci/https://github.com/AUTOMATIC1111/stable-diffusion-webui
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
 
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
+ while true; do cd /root/stable-diffusion-webui && HF_ENDPOINT=https://hf-mirror.com python launch.py --api --port=7864; done