Maitreyapatel
commited on
Commit
·
3117cc1
1
Parent(s):
964ba1e
reqs changed
Browse files- .gitignore +2 -0
- app.py +0 -1
- checkpoints/.gitattributes +3 -0
- requirements.txt +6 -188
.gitignore
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
| 1 |
# Byte-compiled / optimized / DLL files
|
| 2 |
__pycache__/
|
| 3 |
*.py[cod]
|
|
|
|
| 1 |
+
gradio_cached_examples/
|
| 2 |
+
|
| 3 |
# Byte-compiled / optimized / DLL files
|
| 4 |
__pycache__/
|
| 5 |
*.py[cod]
|
app.py
CHANGED
|
@@ -14,7 +14,6 @@ from attribution import MappingNetwork
|
|
| 14 |
import math
|
| 15 |
from typing import List
|
| 16 |
from PIL import Image
|
| 17 |
-
import cv2
|
| 18 |
import numpy as np
|
| 19 |
import torch
|
| 20 |
|
|
|
|
| 14 |
import math
|
| 15 |
from typing import List
|
| 16 |
from PIL import Image
|
|
|
|
| 17 |
import numpy as np
|
| 18 |
import torch
|
| 19 |
|
checkpoints/.gitattributes
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
vae_decoder.pth filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
mapping_network.pth filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
decoding_network.pth filter=lfs diff=lfs merge=lfs -text
|
requirements.txt
CHANGED
|
@@ -1,189 +1,7 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
accelerate==0.18.0
|
| 3 |
-
|
| 4 |
-
aiohttp==3.8.4
|
| 5 |
-
aiosignal==1.3.1
|
| 6 |
-
altair==5.0.1
|
| 7 |
-
altgraph==0.17.2
|
| 8 |
-
anyio==3.7.0
|
| 9 |
-
argon2-cffi==21.3.0
|
| 10 |
-
argon2-cffi-bindings==21.2.0
|
| 11 |
-
asttokens==2.0.5
|
| 12 |
-
async-timeout==4.0.2
|
| 13 |
-
attrs==23.1.0
|
| 14 |
-
awscli==1.27.151
|
| 15 |
-
backcall==0.2.0
|
| 16 |
-
backports.entry-points-selectable==1.1.0
|
| 17 |
-
black==22.1.0
|
| 18 |
-
bleach==4.1.0
|
| 19 |
-
boto3==1.19.7
|
| 20 |
-
botocore==1.29.151
|
| 21 |
-
cachetools==5.0.0
|
| 22 |
-
certifi==2023.5.7
|
| 23 |
-
cffi==1.15.0
|
| 24 |
-
charset-normalizer==3.1.0
|
| 25 |
-
click==8.1.3
|
| 26 |
-
cmake==3.26.4
|
| 27 |
-
colorama==0.4.4
|
| 28 |
-
contourpy==1.0.7
|
| 29 |
-
cycler==0.11.0
|
| 30 |
-
datasets==2.12.0
|
| 31 |
-
debugpy==1.5.1
|
| 32 |
-
defusedxml==0.7.1
|
| 33 |
-
diffusers==0.16.0
|
| 34 |
-
dill==0.3.6
|
| 35 |
-
distlib==0.3.3
|
| 36 |
-
docopt==0.6.2
|
| 37 |
-
docutils==0.16
|
| 38 |
-
entrypoints==0.4
|
| 39 |
-
exceptiongroup==1.1.1
|
| 40 |
-
executing==0.8.3
|
| 41 |
-
fastapi==0.96.0
|
| 42 |
-
ffmpy==0.3.0
|
| 43 |
-
filelock==3.12.1
|
| 44 |
-
fonttools==4.29.1
|
| 45 |
-
frozenlist==1.3.3
|
| 46 |
-
fsspec==2023.6.0
|
| 47 |
-
ftfy==6.1.1
|
| 48 |
-
gradio==3.34.0
|
| 49 |
-
gradio_client==0.2.6
|
| 50 |
-
h11==0.14.0
|
| 51 |
-
httpcore==0.17.2
|
| 52 |
-
httpx==0.24.1
|
| 53 |
-
huggingface-hub==0.15.1
|
| 54 |
-
idna==3.4
|
| 55 |
-
importlib-metadata==6.6.0
|
| 56 |
-
importlib-resources==5.4.0
|
| 57 |
-
ipykernel==6.9.1
|
| 58 |
-
ipython==8.1.0
|
| 59 |
-
ipython-genutils==0.2.0
|
| 60 |
-
ipywidgets==7.6.5
|
| 61 |
-
jedi==0.18.1
|
| 62 |
-
Jinja2==3.1.2
|
| 63 |
-
jmespath==1.0.1
|
| 64 |
-
jsonschema==4.4.0
|
| 65 |
-
jupyter==1.0.0
|
| 66 |
-
jupyter-client==7.1.2
|
| 67 |
-
jupyter-console==6.4.0
|
| 68 |
-
jupyter-core==4.9.2
|
| 69 |
-
jupyterlab-pygments==0.1.2
|
| 70 |
-
jupyterlab-widgets==1.0.2
|
| 71 |
-
kiwisolver==1.3.2
|
| 72 |
-
linkify-it-py==2.0.2
|
| 73 |
-
lit==16.0.5.post0
|
| 74 |
-
Markdown==3.3.6
|
| 75 |
-
markdown-it-py==2.2.0
|
| 76 |
-
MarkupSafe==2.1.3
|
| 77 |
-
matplotlib==3.7.1
|
| 78 |
-
matplotlib-inline==0.1.3
|
| 79 |
-
mdit-py-plugins==0.3.3
|
| 80 |
-
mdurl==0.1.2
|
| 81 |
-
mistune==0.8.4
|
| 82 |
-
mpmath==1.3.0
|
| 83 |
-
multidict==6.0.4
|
| 84 |
-
multiprocess==0.70.14
|
| 85 |
-
mypy-extensions==0.4.3
|
| 86 |
-
nbclient==0.5.11
|
| 87 |
-
nbconvert==6.4.2
|
| 88 |
-
nbformat==5.1.3
|
| 89 |
-
nest-asyncio==1.5.4
|
| 90 |
-
networkx==3.1
|
| 91 |
-
notebook==6.4.8
|
| 92 |
-
numpy==1.24.3
|
| 93 |
-
nvidia-cublas-cu11==11.10.3.66
|
| 94 |
-
nvidia-cuda-cupti-cu11==11.7.101
|
| 95 |
-
nvidia-cuda-nvrtc-cu11==11.7.99
|
| 96 |
-
nvidia-cuda-runtime-cu11==11.7.99
|
| 97 |
-
nvidia-cudnn-cu11==8.5.0.96
|
| 98 |
-
nvidia-cufft-cu11==10.9.0.58
|
| 99 |
-
nvidia-curand-cu11==10.2.10.91
|
| 100 |
-
nvidia-cusolver-cu11==11.4.0.1
|
| 101 |
-
nvidia-cusparse-cu11==11.7.4.91
|
| 102 |
-
nvidia-nccl-cu11==2.14.3
|
| 103 |
-
nvidia-nvtx-cu11==11.7.91
|
| 104 |
-
opencv-python==4.7.0.72
|
| 105 |
-
orjson==3.9.1
|
| 106 |
-
packaging==23.1
|
| 107 |
-
Panda3D==1.10.10
|
| 108 |
-
panda3d-gltf==0.13
|
| 109 |
-
panda3d-simplepbr==0.10
|
| 110 |
-
pandas==2.0.2
|
| 111 |
-
pandocfilters==1.5.0
|
| 112 |
-
parso==0.8.3
|
| 113 |
-
pathspec==0.9.0
|
| 114 |
-
pexpect==4.8.0
|
| 115 |
-
pickleshare==0.7.5
|
| 116 |
-
Pillow==9.5.0
|
| 117 |
-
pipreqs==0.4.13
|
| 118 |
-
platformdirs==2.4.0
|
| 119 |
-
pooltool-billiards==0.1
|
| 120 |
-
prometheus-client==0.13.1
|
| 121 |
-
prompt-toolkit==3.0.28
|
| 122 |
-
psutil==5.9.5
|
| 123 |
-
ptyprocess==0.7.0
|
| 124 |
-
pure-eval==0.2.2
|
| 125 |
-
pyarrow==12.0.0
|
| 126 |
-
pyasn1==0.5.0
|
| 127 |
-
pyasn1-modules==0.2.8
|
| 128 |
-
pycparser==2.21
|
| 129 |
-
pydantic==1.10.9
|
| 130 |
-
pyDeprecate==0.3.1
|
| 131 |
-
pydub==0.25.1
|
| 132 |
-
pyflakes==2.4.0
|
| 133 |
-
Pygments==2.15.1
|
| 134 |
-
pyinstaller==4.6
|
| 135 |
-
pyinstaller-hooks-contrib==2021.3
|
| 136 |
-
pyparsing==3.0.7
|
| 137 |
-
pyquaternion==0.9.9
|
| 138 |
-
pyrsistent==0.18.1
|
| 139 |
-
python-dateutil==2.8.2
|
| 140 |
-
python-multipart==0.0.6
|
| 141 |
-
pytz==2023.3
|
| 142 |
-
PyYAML==5.4.1
|
| 143 |
-
pyzmq==22.3.0
|
| 144 |
-
qtconsole==5.2.2
|
| 145 |
-
QtPy==2.0.1
|
| 146 |
-
regex==2023.6.3
|
| 147 |
-
requests==2.31.0
|
| 148 |
-
requests-oauthlib==1.3.1
|
| 149 |
-
responses==0.18.0
|
| 150 |
-
rsa==4.7.2
|
| 151 |
-
s3transfer==0.6.1
|
| 152 |
-
safetensors==0.3.1
|
| 153 |
-
seaborn==0.11.2
|
| 154 |
-
semantic-version==2.10.0
|
| 155 |
-
Send2Trash==1.8.0
|
| 156 |
-
six==1.16.0
|
| 157 |
-
sniffio==1.3.0
|
| 158 |
-
stack-data==0.2.0
|
| 159 |
-
starlette==0.27.0
|
| 160 |
-
sympy==1.12
|
| 161 |
-
tdw==1.8.29.0
|
| 162 |
-
tensorboard-plugin-wit==1.8.1
|
| 163 |
-
terminado==0.13.1
|
| 164 |
-
testpath==0.6.0
|
| 165 |
-
tokenizers==0.13.3
|
| 166 |
-
tomli==2.0.1
|
| 167 |
-
toolz==0.12.0
|
| 168 |
-
torch==2.0.1
|
| 169 |
-
torch-utils==0.1.2
|
| 170 |
-
torchaudio==2.0.2
|
| 171 |
-
torchvision==0.15.2
|
| 172 |
-
tornado==6.1
|
| 173 |
-
tqdm==4.65.0
|
| 174 |
-
transformers==4.30.1
|
| 175 |
-
triton==2.0.0
|
| 176 |
-
typing_extensions==4.6.3
|
| 177 |
-
tzdata==2023.3
|
| 178 |
-
uc-micro-py==1.0.2
|
| 179 |
-
urllib3==1.26.16
|
| 180 |
-
uvicorn==0.22.0
|
| 181 |
-
virtualenv==20.9.0
|
| 182 |
-
wcwidth==0.2.5
|
| 183 |
-
webencodings==0.5.1
|
| 184 |
-
websockets==11.0.3
|
| 185 |
-
widgetsnbextension==3.5.2
|
| 186 |
-
xxhash==3.2.0
|
| 187 |
-
yarg==0.1.9
|
| 188 |
-
yarl==1.9.2
|
| 189 |
-
zipp==3.15.0
|
|
|
|
| 1 |
+
torch
|
| 2 |
+
torchvision
|
| 3 |
+
torchaudio
|
| 4 |
+
diffuers==0.16.0
|
| 5 |
+
transformers
|
| 6 |
accelerate==0.18.0
|
| 7 |
+
gradio
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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