Spaces:
Sleeping
Sleeping
added docker + reqs
Browse files- Dockerfile +14 -0
- requirements.txt +225 -0
Dockerfile
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
|
| 2 |
+
# you will also find guides on how best to write your Dockerfile
|
| 3 |
+
|
| 4 |
+
FROM python:3.9
|
| 5 |
+
|
| 6 |
+
WORKDIR /code
|
| 7 |
+
|
| 8 |
+
COPY ./requirements.txt /code/requirements.txt
|
| 9 |
+
|
| 10 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 11 |
+
|
| 12 |
+
COPY . .
|
| 13 |
+
|
| 14 |
+
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"]
|
requirements.txt
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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==22.1.0
|
| 10 |
+
audioread==3.0.0
|
| 11 |
+
autopep8==2.0.1
|
| 12 |
+
backcall==0.2.0
|
| 13 |
+
bcrypt==3.2.0
|
| 14 |
+
beautifulsoup4==4.11.1
|
| 15 |
+
blinker==1.4
|
| 16 |
+
Brlapi==0.8.3
|
| 17 |
+
cachetools==5.2.0
|
| 18 |
+
causalgraphicalmodels==0.0.4
|
| 19 |
+
certifi==2022.12.7
|
| 20 |
+
cffi==1.15.0
|
| 21 |
+
chardet==4.0.0
|
| 22 |
+
click==7.1.2
|
| 23 |
+
cmake==3.26.3
|
| 24 |
+
colorama==0.4.4
|
| 25 |
+
command-not-found==0.3
|
| 26 |
+
contourpy==1.0.5
|
| 27 |
+
cryptography==3.4.8
|
| 28 |
+
cupshelpers==1.0
|
| 29 |
+
cycler==0.11.0
|
| 30 |
+
dbus-python==1.2.18
|
| 31 |
+
debugpy==1.6.3
|
| 32 |
+
decorator==5.1.1
|
| 33 |
+
defer==1.0.6
|
| 34 |
+
dill==0.3.6
|
| 35 |
+
distlib==0.3.6
|
| 36 |
+
distro==1.7.0
|
| 37 |
+
Django==4.2.1
|
| 38 |
+
duplicity==0.8.21
|
| 39 |
+
entrypoints==0.4
|
| 40 |
+
exceptiongroup==1.1.1
|
| 41 |
+
executing==1.0.0
|
| 42 |
+
fastapi==0.95.1
|
| 43 |
+
fasteners==0.14.1
|
| 44 |
+
filelock==3.12.0
|
| 45 |
+
flatbuffers==22.11.23
|
| 46 |
+
fonttools==4.37.2
|
| 47 |
+
future==0.18.2
|
| 48 |
+
gast==0.4.0
|
| 49 |
+
google-auth==2.14.1
|
| 50 |
+
google-auth-oauthlib==0.4.6
|
| 51 |
+
google-pasta==0.2.0
|
| 52 |
+
googleapis-common-protos==1.57.0
|
| 53 |
+
graphviz==0.20.1
|
| 54 |
+
grpcio==1.50.0
|
| 55 |
+
h11==0.14.0
|
| 56 |
+
h5py==3.7.0
|
| 57 |
+
httplib2==0.20.2
|
| 58 |
+
idna==3.3
|
| 59 |
+
imageio==2.22.1
|
| 60 |
+
importlib-metadata==4.6.4
|
| 61 |
+
iniconfig==2.0.0
|
| 62 |
+
ipykernel==6.15.3
|
| 63 |
+
ipython==8.5.0
|
| 64 |
+
jedi==0.18.1
|
| 65 |
+
jeepney==0.7.1
|
| 66 |
+
Jinja2==3.1.2
|
| 67 |
+
joblib==1.2.0
|
| 68 |
+
jupyter-core==4.11.1
|
| 69 |
+
jupyter_client==7.3.5
|
| 70 |
+
kazam==1.4.5
|
| 71 |
+
keras==2.11.0
|
| 72 |
+
keyring==23.5.0
|
| 73 |
+
kiwisolver==1.4.4
|
| 74 |
+
language-selector==0.1
|
| 75 |
+
launchpadlib==1.10.16
|
| 76 |
+
lazr.restfulclient==0.14.4
|
| 77 |
+
lazr.uri==1.0.6
|
| 78 |
+
lazy_loader==0.2
|
| 79 |
+
libclang==14.0.6
|
| 80 |
+
librosa==0.10.0.post2
|
| 81 |
+
lit==16.0.3
|
| 82 |
+
llvmlite==0.40.0
|
| 83 |
+
lockfile==0.12.2
|
| 84 |
+
louis==3.20.0
|
| 85 |
+
macaroonbakery==1.3.1
|
| 86 |
+
Mako==1.1.3
|
| 87 |
+
Markdown==3.4.1
|
| 88 |
+
MarkupSafe==2.1.1
|
| 89 |
+
matplotlib==3.6.0
|
| 90 |
+
matplotlib-inline==0.1.6
|
| 91 |
+
monotonic==1.6
|
| 92 |
+
more-itertools==8.10.0
|
| 93 |
+
mpmath==1.3.0
|
| 94 |
+
msgpack==1.0.5
|
| 95 |
+
nest-asyncio==1.5.5
|
| 96 |
+
netifaces==0.11.0
|
| 97 |
+
networkx==3.0
|
| 98 |
+
numba==0.57.0
|
| 99 |
+
numpy==1.23.3
|
| 100 |
+
nvidia-cublas-cu11==11.10.3.66
|
| 101 |
+
nvidia-cuda-cupti-cu11==11.7.101
|
| 102 |
+
nvidia-cuda-nvrtc-cu11==11.7.99
|
| 103 |
+
nvidia-cuda-runtime-cu11==11.7.99
|
| 104 |
+
nvidia-cudnn-cu11==8.5.0.96
|
| 105 |
+
nvidia-cufft-cu11==10.9.0.58
|
| 106 |
+
nvidia-curand-cu11==10.2.10.91
|
| 107 |
+
nvidia-cusolver-cu11==11.4.0.1
|
| 108 |
+
nvidia-cusparse-cu11==11.7.4.91
|
| 109 |
+
nvidia-nccl-cu11==2.14.3
|
| 110 |
+
nvidia-nvtx-cu11==11.7.91
|
| 111 |
+
oauthlib==3.2.0
|
| 112 |
+
olefile==0.46
|
| 113 |
+
opencv-python==4.6.0.66
|
| 114 |
+
opencv-python-headless==4.6.0.66
|
| 115 |
+
opt-einsum==3.3.0
|
| 116 |
+
outcome==1.2.0
|
| 117 |
+
packaging==21.3
|
| 118 |
+
pandas==1.4.4
|
| 119 |
+
paramiko==2.9.3
|
| 120 |
+
parso==0.8.3
|
| 121 |
+
patsy==0.5.3
|
| 122 |
+
pexpect==4.8.0
|
| 123 |
+
pickleshare==0.7.5
|
| 124 |
+
Pillow==9.0.1
|
| 125 |
+
platformdirs==3.5.1
|
| 126 |
+
pluggy==1.0.0
|
| 127 |
+
pooch==1.6.0
|
| 128 |
+
promise==2.3
|
| 129 |
+
prompt-toolkit==3.0.31
|
| 130 |
+
protobuf==3.19.6
|
| 131 |
+
psutil==5.9.2
|
| 132 |
+
ptyprocess==0.7.0
|
| 133 |
+
pure-eval==0.2.2
|
| 134 |
+
pyasn1==0.4.8
|
| 135 |
+
pyasn1-modules==0.2.8
|
| 136 |
+
PyAudio==0.2.11
|
| 137 |
+
pycairo==1.20.1
|
| 138 |
+
pycodestyle==2.10.0
|
| 139 |
+
pycparser==2.21
|
| 140 |
+
pycups==2.0.1
|
| 141 |
+
pydantic==1.10.7
|
| 142 |
+
Pygments==2.13.0
|
| 143 |
+
PyGObject==3.42.1
|
| 144 |
+
PyJWT==2.3.0
|
| 145 |
+
pymacaroons==0.13.0
|
| 146 |
+
PyNaCl==1.5.0
|
| 147 |
+
pyparsing==2.4.7
|
| 148 |
+
pyRFC3339==1.1
|
| 149 |
+
PySocks==1.7.1
|
| 150 |
+
pytest==7.3.1
|
| 151 |
+
python-dateutil==2.8.2
|
| 152 |
+
python-multipart==0.0.6
|
| 153 |
+
pytz==2022.1
|
| 154 |
+
pywebio==1.8.2
|
| 155 |
+
pyxdg==0.27
|
| 156 |
+
PyYAML==5.4.1
|
| 157 |
+
pyzmq==23.2.1
|
| 158 |
+
regex==2022.9.13
|
| 159 |
+
reportlab==3.6.8
|
| 160 |
+
requests==2.25.1
|
| 161 |
+
requests-oauthlib==1.3.1
|
| 162 |
+
Resemblyzer==0.1.3
|
| 163 |
+
rsa==4.9
|
| 164 |
+
scikit-learn==1.1.2
|
| 165 |
+
scipy==1.9.2
|
| 166 |
+
seaborn==0.12.0
|
| 167 |
+
SecretStorage==3.3.1
|
| 168 |
+
selenium==4.9.0
|
| 169 |
+
six==1.16.0
|
| 170 |
+
sklearn==0.0
|
| 171 |
+
sniffio==1.3.0
|
| 172 |
+
sortedcontainers==2.4.0
|
| 173 |
+
sounddevice==0.4.6
|
| 174 |
+
soundfile==0.12.1
|
| 175 |
+
soupsieve==2.3.2.post1
|
| 176 |
+
soxr==0.3.5
|
| 177 |
+
sqlparse==0.4.4
|
| 178 |
+
stack-data==0.5.0
|
| 179 |
+
starlette==0.26.1
|
| 180 |
+
statsmodels==0.13.5
|
| 181 |
+
sympy==1.12
|
| 182 |
+
systemd-python==234
|
| 183 |
+
tensorboard==2.11.0
|
| 184 |
+
tensorboard-data-server==0.6.1
|
| 185 |
+
tensorboard-plugin-wit==1.8.1
|
| 186 |
+
tensorflow==2.11.0
|
| 187 |
+
tensorflow-addons==0.18.0
|
| 188 |
+
tensorflow-datasets==3.2.1
|
| 189 |
+
tensorflow-estimator==2.11.0
|
| 190 |
+
tensorflow-io-gcs-filesystem==0.28.0
|
| 191 |
+
tensorflow-metadata==1.11.0
|
| 192 |
+
termcolor==2.1.1
|
| 193 |
+
tf2crf==0.1.33
|
| 194 |
+
threadpoolctl==3.1.0
|
| 195 |
+
tomli==2.0.1
|
| 196 |
+
torch==2.0.1
|
| 197 |
+
tornado==6.2
|
| 198 |
+
tqdm==4.64.1
|
| 199 |
+
traitlets==5.4.0
|
| 200 |
+
trio==0.22.0
|
| 201 |
+
trio-websocket==0.10.2
|
| 202 |
+
triton==2.0.0
|
| 203 |
+
typeguard==2.13.3
|
| 204 |
+
typing==3.7.4.3
|
| 205 |
+
typing_extensions==4.4.0
|
| 206 |
+
ua-parser==0.16.1
|
| 207 |
+
ubuntu-advantage-tools==8001
|
| 208 |
+
ubuntu-drivers-common==0.0.0
|
| 209 |
+
ufw==0.36.1
|
| 210 |
+
unattended-upgrades==0.1
|
| 211 |
+
urduhack==1.1.1
|
| 212 |
+
urllib3==1.26.5
|
| 213 |
+
usb-creator==0.3.7
|
| 214 |
+
user-agents==2.2.0
|
| 215 |
+
uvicorn==0.22.0
|
| 216 |
+
virtualenv==20.23.0
|
| 217 |
+
wadllib==1.3.6
|
| 218 |
+
wcwidth==0.2.5
|
| 219 |
+
webrtcvad==2.0.10
|
| 220 |
+
Werkzeug==2.2.2
|
| 221 |
+
wrapt==1.14.1
|
| 222 |
+
wsproto==1.2.0
|
| 223 |
+
xdg==5
|
| 224 |
+
xkit==0.0.0
|
| 225 |
+
zipp==1.0.0
|