Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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")
|