LiruiZhao commited on
Commit
1bec3ee
1 Parent(s): b8e3a53
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +16 -207
app.py CHANGED
@@ -360,7 +360,7 @@ with gr.Blocks(css="footer {visibility: hidden}") as demo:
360
  fn=generate,
361
  inputs=[input_image, instruction, steps, randomize_seed, seed, randomize_cfg, text_cfg_scale, image_cfg_scale],
362
  outputs=[seed, text_cfg_scale, image_cfg_scale, edited_image, mix_image, edited_mask, mask_video, image_video, original_image, mix_result_with_red_mask],
363
- cache_examples=True,
364
  )
365
 
366
  generate_button.click(
 
360
  fn=generate,
361
  inputs=[input_image, instruction, steps, randomize_seed, seed, randomize_cfg, text_cfg_scale, image_cfg_scale],
362
  outputs=[seed, text_cfg_scale, image_cfg_scale, edited_image, mix_image, edited_mask, mask_video, image_video, original_image, mix_result_with_red_mask],
363
+ cache_examples=False,
364
  )
365
 
366
  generate_button.click(
requirements.txt CHANGED
@@ -1,207 +1,16 @@
1
- absl-py=2.1.0=pypi_0
2
- accelerate=0.27.2=pypi_0
3
- aiofiles=23.2.1=pypi_0
4
- aiohttp=3.9.3=pypi_0
5
- aiosignal=1.3.1=pypi_0
6
- albumentations=0.4.3=pypi_0
7
- altair=5.2.0=pypi_0
8
- annotated-types=0.6.0=pypi_0
9
- antlr4-python3-runtime=4.8=pypi_0
10
- anyio=4.2.0=pypi_0
11
- appdirs=1.4.4=pypi_0
12
- async-timeout=4.0.3=pypi_0
13
- attrs=23.2.0=pypi_0
14
- backports-zoneinfo=0.2.1=pypi_0
15
- blinker=1.7.0=pypi_0
16
- ca-certificates=2023.12.12=h06a4308_0
17
- cachetools=5.3.2=pypi_0
18
- certifi=2024.2.2=py38h06a4308_0
19
- charset-normalizer=3.3.2=pypi_0
20
- clean-fid=0.1.35=pypi_0
21
- click=8.1.7=pypi_0
22
- clip=1.0=dev_0
23
- clip-anytorch=2.6.0=pypi_0
24
- colorama=0.4.6=pypi_0
25
- contourpy=1.1.1=pypi_0
26
- cudatoolkit=10.2.89=hfd86e86_1
27
- cycler=0.12.1=pypi_0
28
- datasets=2.8.0=pypi_0
29
- dctorch=0.1.2=pypi_0
30
- diffusers=0.26.3=pypi_0
31
- dill=0.3.6=pypi_0
32
- distro=1.9.0=pypi_0
33
- docker-pycreds=0.4.0=pypi_0
34
- einops=0.3.0=pypi_0
35
- exceptiongroup=1.2.0=pypi_0
36
- fastapi=0.109.2=pypi_0
37
- ffmpy=0.3.2=pypi_0
38
- filelock=3.13.1=pypi_0
39
- fonttools=4.48.1=pypi_0
40
- frozenlist=1.4.1=pypi_0
41
- fsspec=2024.2.0=pypi_0
42
- ftfy=6.1.3=pypi_0
43
- future=0.18.3=pypi_0
44
- gitdb=4.0.11=pypi_0
45
- gitpython=3.1.41=pypi_0
46
- google-auth=2.27.0=pypi_0
47
- google-auth-oauthlib=1.0.0=pypi_0
48
- gradio=3.50.2=pypi_0
49
- gradio-client=0.6.1=pypi_0
50
- grpcio=1.60.1=pypi_0
51
- h11=0.14.0=pypi_0
52
- httpcore=1.0.2=pypi_0
53
- httpx=0.26.0=pypi_0
54
- huggingface-hub=0.20.3=pypi_0
55
- idna=3.6=pypi_0
56
- imageio=2.9.0=pypi_0
57
- imageio-ffmpeg=0.4.2=pypi_0
58
- imgaug=0.2.6=pypi_0
59
- importlib-metadata=7.0.1=pypi_0
60
- importlib-resources=6.1.1=pypi_0
61
- invisible-watermark=0.2.0=pypi_0
62
- jinja2=3.1.3=pypi_0
63
- joblib=1.3.2=pypi_0
64
- jsonmerge=1.9.2=pypi_0
65
- jsonschema=4.21.1=pypi_0
66
- jsonschema-specifications=2023.12.1=pypi_0
67
- k-diffusion=0.2.0.dev0=pypi_0
68
- kiwisolver=1.4.5=pypi_0
69
- kornia=0.6.0=pypi_0
70
- lazy-loader=0.3=pypi_0
71
- ld_impl_linux-64=2.38=h1181459_1
72
- libffi=3.3=he6710b0_2
73
- libgcc-ng=11.2.0=h1234567_1
74
- libgomp=11.2.0=h1234567_1
75
- libstdcxx-ng=11.2.0=h1234567_1
76
- lightning-utilities=0.10.1=pypi_0
77
- lpips=0.1.4=pypi_0
78
- markdown=3.5.2=pypi_0
79
- markdown-it-py=3.0.0=pypi_0
80
- markupsafe=2.1.5=pypi_0
81
- matplotlib=3.7.4=pypi_0
82
- mdurl=0.1.2=pypi_0
83
- mpmath=1.3.0=pypi_0
84
- multidict=6.0.5=pypi_0
85
- multiprocess=0.70.14=pypi_0
86
- ncurses=6.4=h6a678d5_0
87
- networkx=3.1=pypi_0
88
- numpy=1.24.4=pypi_0
89
- nvidia-cublas-cu11=11.10.3.66=pypi_0
90
- nvidia-cublas-cu12=12.1.3.1=pypi_0
91
- nvidia-cuda-cupti-cu12=12.1.105=pypi_0
92
- nvidia-cuda-nvrtc-cu11=11.7.99=pypi_0
93
- nvidia-cuda-nvrtc-cu12=12.1.105=pypi_0
94
- nvidia-cuda-runtime-cu11=11.7.99=pypi_0
95
- nvidia-cuda-runtime-cu12=12.1.105=pypi_0
96
- nvidia-cudnn-cu11=8.5.0.96=pypi_0
97
- nvidia-cudnn-cu12=8.9.2.26=pypi_0
98
- nvidia-cufft-cu12=11.0.2.54=pypi_0
99
- nvidia-curand-cu12=10.3.2.106=pypi_0
100
- nvidia-cusolver-cu12=11.4.5.107=pypi_0
101
- nvidia-cusparse-cu12=12.1.0.106=pypi_0
102
- nvidia-nccl-cu12=2.19.3=pypi_0
103
- nvidia-nvjitlink-cu12=12.3.101=pypi_0
104
- nvidia-nvtx-cu12=12.1.105=pypi_0
105
- oauthlib=3.2.2=pypi_0
106
- omegaconf=2.1.1=pypi_0
107
- openai=1.12.0=pypi_0
108
- opencv-python=4.1.2.30=pypi_0
109
- opencv-python-headless=4.9.0.80=pypi_0
110
- openssl=1.1.1w=h7f8727e_0
111
- orjson=3.9.13=pypi_0
112
- packaging=23.2=pypi_0
113
- pandas=2.0.3=pypi_0
114
- parallel-execute=0.1.1=pypi_0
115
- pillow=10.2.0=pypi_0
116
- pip=23.3.1=py38h06a4308_0
117
- pkgutil-resolve-name=1.3.10=pypi_0
118
- protobuf=4.25.2=pypi_0
119
- psutil=5.9.8=pypi_0
120
- pudb=2019.2=pypi_0
121
- pyarrow=15.0.0=pypi_0
122
- pyasn1=0.5.1=pypi_0
123
- pyasn1-modules=0.3.0=pypi_0
124
- pydantic=2.6.1=pypi_0
125
- pydantic-core=2.16.2=pypi_0
126
- pydeck=0.8.1b0=pypi_0
127
- pydeprecate=0.3.1=pypi_0
128
- pydub=0.25.1=pypi_0
129
- pygments=2.17.2=pypi_0
130
- pyparsing=3.1.1=pypi_0
131
- python=3.8.5=h7579374_1
132
- python-dateutil=2.8.2=pypi_0
133
- python-multipart=0.0.9=pypi_0
134
- pytorch-fid=0.3.0=pypi_0
135
- pytorch-lightning=1.4.2=pypi_0
136
- pytz=2024.1=pypi_0
137
- pywavelets=1.4.1=pypi_0
138
- pyyaml=6.0.1=pypi_0
139
- readline=8.2=h5eee18b_0
140
- referencing=0.33.0=pypi_0
141
- regex=2023.12.25=pypi_0
142
- requests=2.31.0=pypi_0
143
- requests-oauthlib=1.3.1=pypi_0
144
- responses=0.18.0=pypi_0
145
- rich=13.7.0=pypi_0
146
- rpds-py=0.17.1=pypi_0
147
- rsa=4.9=pypi_0
148
- ruff=0.2.1=pypi_0
149
- safetensors=0.4.2=pypi_0
150
- scikit-image=0.20.0=pypi_0
151
- scipy=1.9.1=pypi_0
152
- seaborn=0.13.2=pypi_0
153
- semantic-version=2.10.0=pypi_0
154
- sentry-sdk=1.40.4=pypi_0
155
- setproctitle=1.3.3=pypi_0
156
- setuptools=68.2.2=py38h06a4308_0
157
- shellingham=1.5.4=pypi_0
158
- six=1.16.0=pypi_0
159
- smmap=5.0.1=pypi_0
160
- sniffio=1.3.0=pypi_0
161
- some-package=0.1=pypi_0
162
- sqlite=3.41.2=h5eee18b_0
163
- starlette=0.36.3=pypi_0
164
- streamlit=1.31.1=pypi_0
165
- sympy=1.12=pypi_0
166
- taming-transformers=0.0.1=dev_0
167
- tenacity=8.2.3=pypi_0
168
- tensorboard=2.14.0=pypi_0
169
- tensorboard-data-server=0.7.2=pypi_0
170
- test-tube=0.7.5=pypi_0
171
- tifffile=2023.7.10=pypi_0
172
- tk=8.6.12=h1ccaba5_0
173
- tokenizers=0.12.1=pypi_0
174
- toml=0.10.2=pypi_0
175
- tomlkit=0.12.0=pypi_0
176
- toolz=0.12.1=pypi_0
177
- torch=1.13.1=pypi_0
178
- torch-fidelity=0.3.0=pypi_0
179
- torchaudio=0.13.1=pypi_0
180
- torchdiffeq=0.2.3=pypi_0
181
- torchmetrics=0.6.0=pypi_0
182
- torchsde=0.2.6=pypi_0
183
- torchvision=0.14.1=pypi_0
184
- tornado=6.4=pypi_0
185
- tqdm=4.66.2=pypi_0
186
- trampoline=0.1.2=pypi_0
187
- transformers=4.19.2=pypi_0
188
- triton=2.2.0=pypi_0
189
- typer=0.9.0=pypi_0
190
- typing-extensions=4.9.0=pypi_0
191
- tzdata=2024.1=pypi_0
192
- tzlocal=5.2=pypi_0
193
- urllib3=2.2.0=pypi_0
194
- urwid=2.5.3=pypi_0
195
- uvicorn=0.27.1=pypi_0
196
- validators=0.22.0=pypi_0
197
- wandb=0.16.3=pypi_0
198
- watchdog=4.0.0=pypi_0
199
- wcwidth=0.2.13=pypi_0
200
- websockets=11.0.3=pypi_0
201
- werkzeug=3.0.1=pypi_0
202
- wheel=0.41.2=py38h06a4308_0
203
- xxhash=3.4.1=pypi_0
204
- xz=5.4.5=h5eee18b_0
205
- yarl=1.9.4=pypi_0
206
- zipp=3.17.0=pypi_0
207
- zlib=1.2.13=h5eee18b_0
 
1
+ python==3.8.5
2
+ numpy==1.24.4
3
+ torch==1.13.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
4
+ torchvision==0.14.1+cu117 --extra-index-url https://download.pytorch.org/whl/cu117
5
+ transformers==4.19.2
6
+ tqdm==4.66.2
7
+ gradio==3.50.2
8
+ openai==1.12.0
9
+ opencv-python==4.1.2.30
10
+ einops==0.3.0
11
+ omegaconf==2.1.1
12
+ pytorch-lightning==1.4.2
13
+ -e git+https://github.com/crowsonkb/k-diffusion.git@v0.0.16#egg=k-diffusion
14
+ -e git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers
15
+ imageio==2.9.0
16
+ imageio-ffmpeg==0.4.2