DreamSunny commited on
Commit
15eeba6
1 Parent(s): c137180

Update to 1.6.0

Browse files
Files changed (2) hide show
  1. app.py +4 -3
  2. requirements.txt +33 -29
app.py CHANGED
@@ -1,9 +1,9 @@
1
  """
2
- Stable Diffusion Webui Version 1.4.0
3
- https://github.com/AUTOMATIC1111/stable-diffusion-webui/releases/tag/v1.4.0
4
 
5
  """
6
- commit_id=r"394ffa7b0a7fff3ec484bcd084e673a8b301ccc8" #Version 1.40
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==3.1.30
2
- Pillow==9.5.0
3
- accelerate==0.18.0
4
- basicsr==1.4.2
5
- blendmodes==2022
6
- clean-fid==0.1.35
7
- einops==0.4.1
8
- fastapi==0.94.0
9
- gfpgan==1.3.8
10
- gradio==3.32.0
11
- httpcore<=0.15
12
- inflection==0.5.1
13
- jsonmerge==1.8.0
14
- kornia==0.6.7
15
- lark==1.1.2
16
- numpy==1.23.5
17
- omegaconf==2.2.3
18
- piexif==1.1.3
19
- psutil~=5.9.5
20
- pytorch_lightning==1.9.4
21
- realesrgan==0.3.0
22
- resize-right==0.0.2
23
- safetensors==0.3.1
24
- scikit-image==0.20.0
25
- timm==0.6.7
26
- tomesd==0.1.2
 
 
 
 
27
  torch
28
- torchdiffeq==0.2.3
29
- torchsde==0.2.5
30
- transformers==4.25.1
 
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