camenduru commited on
Commit
7a84096
1 Parent(s): 4c3c739

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,11 +1,13 @@
1
  import os
2
 
3
  os.system(f"python --version")
 
4
  os.system(f"pip show gradio")
5
  os.system(f"uname -r")
6
  os.system(f"nvidia-smi")
7
  os.system(f"pwd")
8
 
 
9
  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")
10
  os.system(f"git clone https://github.com/camenduru/stable-diffusion-webui /home/user/app/stable-diffusion-webui")
11
  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")
 
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")
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/camenduru/sd14/resolve/main/sd-v1-4.ckpt -O /home/user/app/stable-diffusion-webui/models/Stable-diffusion/sd-v1-4.ckpt")