ACCA225 commited on
Commit
9f03519
1 Parent(s): e26a6e4

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +3 -3
app2.py CHANGED
@@ -179,10 +179,10 @@ needed_extensions = [
179
  "https://openi.pcl.ac.cn/2575044704/sd-extension-system-info",
180
  "https://openi.pcl.ac.cn/2575044704/batchlinks-webui",
181
  ]
182
- #for plugin in plugins:
183
- #os.system(f"git clone {plugin}")
184
- for plugin in needed_extensions:
185
  os.system(f"git clone {plugin}")
 
 
186
  os.makedirs('/home/xlab-app-center/stable-diffusion-webui/models/adetailer', exist_ok=True)
187
  os.chdir(f"/home/xlab-app-center/stable-diffusion-webui/models/adetailer")
188
  os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://hf-mirror.com/Bingsu/adetailer/resolve/main/hand_yolov8s.pt -d /home/xlab-app-center/stable-diffusion-webui/models/adetailer -o hand_yolov8s.pt")
 
179
  "https://openi.pcl.ac.cn/2575044704/sd-extension-system-info",
180
  "https://openi.pcl.ac.cn/2575044704/batchlinks-webui",
181
  ]
182
+ for plugin in plugins:
 
 
183
  os.system(f"git clone {plugin}")
184
+ #for plugin in needed_extensions:
185
+ # os.system(f"git clone {plugin}")
186
  os.makedirs('/home/xlab-app-center/stable-diffusion-webui/models/adetailer', exist_ok=True)
187
  os.chdir(f"/home/xlab-app-center/stable-diffusion-webui/models/adetailer")
188
  os.system(f"aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://hf-mirror.com/Bingsu/adetailer/resolve/main/hand_yolov8s.pt -d /home/xlab-app-center/stable-diffusion-webui/models/adetailer -o hand_yolov8s.pt")