liuyizhang commited on
Commit
09e45a8
1 Parent(s): 749c736

update app.py

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +4 -3
app.py CHANGED
@@ -5,8 +5,8 @@ warnings.filterwarnings('ignore')
5
  import subprocess, io, os, sys, time
6
  from loguru import logger
7
 
8
- os.system("pip install diffuser==0.6.0")
9
- os.system("pip install transformers==4.29.1")
10
 
11
  os.environ["CUDA_VISIBLE_DEVICES"] = "0"
12
 
 
5
  import subprocess, io, os, sys, time
6
  from loguru import logger
7
 
8
+ # os.system("pip install diffuser==0.6.0")
9
+ # os.system("pip install transformers==4.29.1")
10
 
11
  os.environ["CUDA_VISIBLE_DEVICES"] = "0"
12
 
requirements.txt CHANGED
@@ -1,6 +1,6 @@
1
  accelerate
2
  addict
3
- diffusers==0.6.0
4
  gradio
5
  huggingface_hub
6
  matplotlib
@@ -17,12 +17,13 @@ termcolor
17
  timm
18
  torch
19
  torchvision
20
- transformers==4.29.1
21
  yapf
22
  numba
23
  scipy
24
  safetensors
25
 
26
- lama-cleaner==0.25.0
 
27
  openmim==0.1.5
28
  mmcv==2.0.0
 
1
  accelerate
2
  addict
3
+ diffusers==0.14.0
4
  gradio
5
  huggingface_hub
6
  matplotlib
 
17
  timm
18
  torch
19
  torchvision
20
+ transformers==4.27.4
21
  yapf
22
  numba
23
  scipy
24
  safetensors
25
 
26
+ lama-cleaner==1.1.2
27
+ # lama-cleaner==0.25.0
28
  openmim==0.1.5
29
  mmcv==2.0.0