Spaces:
Runtime error
Runtime error
DreamSunny
commited on
Commit
•
15eeba6
1
Parent(s):
c137180
Update to 1.6.0
Browse files- app.py +4 -3
- requirements.txt +33 -29
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
"""
|
2 |
-
Stable Diffusion Webui Version 1.
|
3 |
-
https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.
|
4 |
|
5 |
"""
|
6 |
-
commit_id=r"
|
7 |
import os
|
8 |
from sys import executable
|
9 |
import subprocess
|
@@ -154,6 +154,7 @@ DownLoad(r"https://github.com/TencentARC/GFPGAN/releases/download/v1.3.0/GFPGANv
|
|
154 |
#strt Stable Diffusion Webui
|
155 |
print("Done\nStarting Webui...")
|
156 |
os.chdir(user_home / r"stable-diffusion-webui")
|
|
|
157 |
while True:
|
158 |
ret=subprocess.run([executable ,user_home / r"stable-diffusion-webui" / r"launch.py",r"--precision",r"full",r"--no-half",r"--no-half-vae",r"--enable-insecure-extension-access",r"--medvram",r"--skip-torch-cuda-test",r"--enable-console-prompts",r"--ui-settings-file="+str(pathlib.Path(__file__).parent /r"config.json")])
|
159 |
if(ret.returncode == 0 ):
|
|
|
1 |
"""
|
2 |
+
Stable Diffusion Webui Version 1.6
|
3 |
+
https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.6.0
|
4 |
|
5 |
"""
|
6 |
+
commit_id=r"5ef669de080814067961f28357256e8fe27544f4" #Version 1.3.0
|
7 |
import os
|
8 |
from sys import executable
|
9 |
import subprocess
|
|
|
154 |
#strt Stable Diffusion Webui
|
155 |
print("Done\nStarting Webui...")
|
156 |
os.chdir(user_home / r"stable-diffusion-webui")
|
157 |
+
gc.collect()
|
158 |
while True:
|
159 |
ret=subprocess.run([executable ,user_home / r"stable-diffusion-webui" / r"launch.py",r"--precision",r"full",r"--no-half",r"--no-half-vae",r"--enable-insecure-extension-access",r"--medvram",r"--skip-torch-cuda-test",r"--enable-console-prompts",r"--ui-settings-file="+str(pathlib.Path(__file__).parent /r"config.json")])
|
160 |
if(ret.returncode == 0 ):
|
requirements.txt
CHANGED
@@ -1,30 +1,34 @@
|
|
1 |
-
GitPython
|
2 |
-
Pillow
|
3 |
-
accelerate
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
inflection
|
13 |
-
jsonmerge
|
14 |
-
kornia
|
15 |
-
lark
|
16 |
-
numpy
|
17 |
-
omegaconf
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
27 |
torch
|
28 |
-
torchdiffeq
|
29 |
-
torchsde
|
30 |
-
transformers==4.
|
|
|
1 |
+
GitPython
|
2 |
+
Pillow
|
3 |
+
accelerate
|
4 |
+
|
5 |
+
basicsr
|
6 |
+
blendmodes
|
7 |
+
clean-fid
|
8 |
+
einops
|
9 |
+
fastapi>=0.90.1
|
10 |
+
gfpgan
|
11 |
+
gradio==3.41.2
|
12 |
+
inflection
|
13 |
+
jsonmerge
|
14 |
+
kornia
|
15 |
+
lark
|
16 |
+
numpy
|
17 |
+
omegaconf
|
18 |
+
open-clip-torch
|
19 |
+
|
20 |
+
piexif
|
21 |
+
psutil
|
22 |
+
pytorch_lightning
|
23 |
+
realesrgan
|
24 |
+
requests
|
25 |
+
resize-right
|
26 |
+
|
27 |
+
safetensors
|
28 |
+
scikit-image>=0.19
|
29 |
+
timm
|
30 |
+
tomesd
|
31 |
torch
|
32 |
+
torchdiffeq
|
33 |
+
torchsde
|
34 |
+
transformers==4.30.2
|