Spaces:
Runtime error
Runtime error
Upload app.py
Browse files18 unmodified lines19202122232425262728293018 unmodified linesos.system(f"git clone --depth=1 https://github.com/AUTOMATIC1111/stable-diffusion-webui.git sd-webui-files/stable-diffusion-webui")# # Download checkpoint models to /stable-diffusion-webui/models/Stable-diffusionos.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")os.system(f"git reset --hard")os.system(f"git pull")os.system(f"sed -i -e 's/checkout {commithash}/checkout --force {commithash}/g' launch.py")os.system(f"python launch.py --share --xformers --enable-insecure-extension-access --theme light --skip-torch-cuda-test")# Launch WebUI18 unmodified lines19202122232425262728293018 unmodified linesos.system(f"git clone --depth=1 https://github.com/AUTOMATIC1111/stable-diffusion-webui.git sd-webui-files/stable-diffusion-webui")# # Download checkpoint models to /stable-diffusion-webui/models/Stable-diffusion#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")os.system(f"git reset --hard")os.system(f"git pull")#os.system(f"sed -i -e 's/checkout {commithash}/checkout --force {commithash}/g' launch.py")os.system(f"python launch.py --share --xformers --enable-insecure-extension-access --theme light --skip-torch-cuda-test")# Launch WebUI
app.py+2-2