Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -19,12 +19,12 @@ os.chdir("sd-webui-files")
|
|
19 |
os.system(f"git clone --depth=1 https://github.com/AUTOMATIC1111/stable-diffusion-webui.git sd-webui-files/stable-diffusion-webui")
|
20 |
|
21 |
# # Download checkpoint models to /stable-diffusion-webui/models/Stable-diffusion
|
22 |
-
os.system(f"wget -nc -P stable-diffusion-webui/models/Stable-diffusion https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.5-pruned.safetensors")
|
23 |
|
24 |
|
25 |
os.system(f"git reset --hard")
|
26 |
os.system(f"git pull")
|
27 |
-
os.system(f"sed -i -e 's/checkout {commithash}/checkout --force {commithash}/g' launch.py")
|
28 |
|
29 |
os.system(f"python launch.py --share --xformers --enable-insecure-extension-access --theme light --skip-torch-cuda-test")
|
30 |
# Launch WebUI
|
|
|
19 |
os.system(f"git clone --depth=1 https://github.com/AUTOMATIC1111/stable-diffusion-webui.git sd-webui-files/stable-diffusion-webui")
|
20 |
|
21 |
# # Download checkpoint models to /stable-diffusion-webui/models/Stable-diffusion
|
22 |
+
#os.system(f"wget -nc -P stable-diffusion-webui/models/Stable-diffusion https://huggingface.co/andite/anything-v4.0/resolve/main/anything-v4.5-pruned.safetensors")
|
23 |
|
24 |
|
25 |
os.system(f"git reset --hard")
|
26 |
os.system(f"git pull")
|
27 |
+
#os.system(f"sed -i -e 's/checkout {commithash}/checkout --force {commithash}/g' launch.py")
|
28 |
|
29 |
os.system(f"python launch.py --share --xformers --enable-insecure-extension-access --theme light --skip-torch-cuda-test")
|
30 |
# Launch WebUI
|