Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import os
|
2 |
|
3 |
os.system(f"python --version")
|
4 |
-
os.system(f"pip uninstall gradio")
|
5 |
os.system(f"pip show gradio")
|
6 |
os.system(f"uname -r")
|
7 |
os.system(f"nvidia-smi")
|
@@ -13,5 +13,6 @@ os.system(f"git clone https://github.com/camenduru/stable-diffusion-webui /home/
|
|
13 |
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")
|
14 |
os.chdir("/home/user/app/stable-diffusion-webui")
|
15 |
os.system(f"pwd")
|
|
|
16 |
os.system(f"python launch.py --force-enable-xformers")
|
17 |
|
|
|
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")
|
|
|
13 |
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")
|
14 |
os.chdir("/home/user/app/stable-diffusion-webui")
|
15 |
os.system(f"pwd")
|
16 |
+
os.system(f"pip show gradio")
|
17 |
os.system(f"python launch.py --force-enable-xformers")
|
18 |
|