Dracomoth commited on
Commit
f835075
·
1 Parent(s): 3b0ba32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -3,4 +3,6 @@ import os
3
  os.system(f"git clone https://github.com/camenduru/stable-diffusion-webui /home/user/app/stable-diffusion-webui")
4
  os.chdir(f"/home/user/app/stable-diffusion-webui")
5
 
 
 
6
  os.system(f"python launch.py --skip-torch-cuda-test --precision full --no-half")
 
3
  os.system(f"git clone https://github.com/camenduru/stable-diffusion-webui /home/user/app/stable-diffusion-webui")
4
  os.chdir(f"/home/user/app/stable-diffusion-webui")
5
 
6
+ os.system(f"%pip install torch==1.13.1+cu117 torchvision=0.14.1+cu117 torchtext=0.14.1 torchaudio=0.13.1 torchdata=0.5.1 --extra-index-url https ://download.pytorch.org/whl/cu117`")
7
+
8
  os.system(f"python launch.py --skip-torch-cuda-test --precision full --no-half")