Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,13 +1,5 @@
|
|
1 |
import os
|
2 |
-
|
3 |
-
os.system(f"python --version")
|
4 |
os.system(f"pip uninstall gradio -y")
|
5 |
-
os.system(f"pip show gradio")
|
6 |
-
os.system(f"uname -r")
|
7 |
-
os.system(f"nvidia-smi")
|
8 |
-
os.system(f"pwd")
|
9 |
-
|
10 |
-
|
11 |
os.system(f"pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+1515f77.d20221130-cp38-cp38-linux_x86_64.whl")
|
12 |
os.system(f"git clone https://github.com/camenduru/stable-diffusion-webui /home/user/app/stable-diffusion-webui")
|
13 |
os.system(f"wget -q https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0-pruned.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned.ckpt")
|
@@ -25,7 +17,4 @@ os.system(f"wget -q https://huggingface.co/camenduru/i15/resolve/main/sd-v1-5-in
|
|
25 |
os.system(f"wget -q https://huggingface.co/camenduru/sd14/resolve/main/sd-v1-4.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/sd-v1-4.ckpt")
|
26 |
os.system(f"wget -q https://huggingface.co/hakurei/waifu-diffusion-v1-3/resolve/main/wd-v1-3-float32.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/wd-v1-3-float32.ckpt")
|
27 |
os.chdir("/home/user/app/stable-diffusion-webui")
|
28 |
-
os.system(f"pwd")
|
29 |
-
os.system(f"pip show gradio")
|
30 |
os.system(f"python launch.py --force-enable-xformers")
|
31 |
-
|
|
|
1 |
import os
|
|
|
|
|
2 |
os.system(f"pip uninstall gradio -y")
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
os.system(f"pip install -q https://github.com/camenduru/stable-diffusion-webui-colab/releases/download/0.0.15/xformers-0.0.15.dev0+1515f77.d20221130-cp38-cp38-linux_x86_64.whl")
|
4 |
os.system(f"git clone https://github.com/camenduru/stable-diffusion-webui /home/user/app/stable-diffusion-webui")
|
5 |
os.system(f"wget -q https://huggingface.co/Linaqruf/anything-v3.0/resolve/main/Anything-V3.0-pruned.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/Anything-V3.0-pruned.ckpt")
|
|
|
17 |
os.system(f"wget -q https://huggingface.co/camenduru/sd14/resolve/main/sd-v1-4.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/sd-v1-4.ckpt")
|
18 |
os.system(f"wget -q https://huggingface.co/hakurei/waifu-diffusion-v1-3/resolve/main/wd-v1-3-float32.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/wd-v1-3-float32.ckpt")
|
19 |
os.chdir("/home/user/app/stable-diffusion-webui")
|
|
|
|
|
20 |
os.system(f"python launch.py --force-enable-xformers")
|
|