Update app2.py
Browse files
app2.py
CHANGED
@@ -166,8 +166,8 @@ plugins = [
|
|
166 |
"https://kkgithub.com/modelscope/facechain.git",
|
167 |
]
|
168 |
|
169 |
-
for plugin in plugins:
|
170 |
-
os.system(f"git clone {plugin}")
|
171 |
os.makedirs('/home/xlab-app-center/stable-diffusion-webui/models/adetailer', exist_ok=True)
|
172 |
os.chdir(f"/home/xlab-app-center/stable-diffusion-webui/models/adetailer")
|
173 |
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")
|
|
|
166 |
"https://kkgithub.com/modelscope/facechain.git",
|
167 |
]
|
168 |
|
169 |
+
#for plugin in plugins:
|
170 |
+
#os.system(f"git clone {plugin}")
|
171 |
os.makedirs('/home/xlab-app-center/stable-diffusion-webui/models/adetailer', exist_ok=True)
|
172 |
os.chdir(f"/home/xlab-app-center/stable-diffusion-webui/models/adetailer")
|
173 |
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")
|