Spaces:
Sleeping
Sleeping
initialize docker file
Browse files- Dockerfile +16 -0
- requirements.txt +159 -0
Dockerfile
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10-slim
|
2 |
+
|
3 |
+
WORKDIR /app
|
4 |
+
|
5 |
+
COPY requirements.txt .
|
6 |
+
|
7 |
+
RUN pip install --upgrade pip
|
8 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
9 |
+
|
10 |
+
COPY src /app/src
|
11 |
+
COPY tests /app/tests
|
12 |
+
COPY models /app/models
|
13 |
+
|
14 |
+
EXPOSE 80
|
15 |
+
|
16 |
+
CMD ["python", "src/main.py"]
|
requirements.txt
ADDED
@@ -0,0 +1,159 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
aiohttp==3.9.3
|
2 |
+
aiosignal==1.2.0
|
3 |
+
anyio==4.3.0
|
4 |
+
argon2-cffi==23.1.0
|
5 |
+
argon2-cffi-bindings==21.2.0
|
6 |
+
arrow==1.3.0
|
7 |
+
asttokens==2.0.5
|
8 |
+
async-lru==2.0.4
|
9 |
+
async-timeout==4.0.3
|
10 |
+
attrs==23.1.0
|
11 |
+
Babel==2.14.0
|
12 |
+
beautifulsoup4==4.12.3
|
13 |
+
bleach==6.1.0
|
14 |
+
Bottleneck==1.3.7
|
15 |
+
Brotli==1.0.9
|
16 |
+
certifi==2024.2.2
|
17 |
+
cffi==1.16.0
|
18 |
+
charset-normalizer==2.0.4
|
19 |
+
click==8.1.7
|
20 |
+
comm==0.2.1
|
21 |
+
contourpy==1.2.0
|
22 |
+
cycler==0.11.0
|
23 |
+
datasets==2.12.0
|
24 |
+
debugpy==1.6.7
|
25 |
+
decorator==5.1.1
|
26 |
+
defusedxml==0.7.1
|
27 |
+
dill==0.3.6
|
28 |
+
exceptiongroup==1.2.0
|
29 |
+
executing==0.8.3
|
30 |
+
fastjsonschema==2.19.1
|
31 |
+
filelock==3.13.1
|
32 |
+
Flask==2.2.2
|
33 |
+
fonttools==4.25.0
|
34 |
+
fqdn==1.5.1
|
35 |
+
frozenlist==1.4.0
|
36 |
+
fsspec==2023.10.0
|
37 |
+
gmpy2==2.1.2
|
38 |
+
h11==0.14.0
|
39 |
+
httpcore==1.0.4
|
40 |
+
httpx==0.27.0
|
41 |
+
huggingface-hub==0.20.3
|
42 |
+
idna==3.4
|
43 |
+
ipykernel==6.28.0
|
44 |
+
ipython==8.20.0
|
45 |
+
ipywidgets==8.1.2
|
46 |
+
isoduration==20.11.0
|
47 |
+
itsdangerous==2.0.1
|
48 |
+
jedi==0.18.1
|
49 |
+
Jinja2==3.1.3
|
50 |
+
joblib==1.2.0
|
51 |
+
json5==0.9.17
|
52 |
+
jsonpointer==2.4
|
53 |
+
jsonschema==4.21.1
|
54 |
+
jsonschema-specifications==2023.12.1
|
55 |
+
jupyter==1.0.0
|
56 |
+
jupyter_client==8.6.0
|
57 |
+
jupyter-console==6.6.3
|
58 |
+
jupyter_core==5.5.0
|
59 |
+
jupyter-events==0.9.0
|
60 |
+
jupyter-lsp==2.2.3
|
61 |
+
jupyter_server==2.12.5
|
62 |
+
jupyter_server_terminals==0.5.2
|
63 |
+
jupyterlab==4.1.2
|
64 |
+
jupyterlab_pygments==0.3.0
|
65 |
+
jupyterlab_server==2.25.3
|
66 |
+
jupyterlab_widgets==3.0.10
|
67 |
+
kiwisolver==1.4.4
|
68 |
+
MarkupSafe==2.1.3
|
69 |
+
matplotlib==3.8.0
|
70 |
+
matplotlib-inline==0.1.6
|
71 |
+
mistune==3.0.2
|
72 |
+
mpmath==1.3.0
|
73 |
+
multidict==6.0.4
|
74 |
+
multiprocess==0.70.14
|
75 |
+
munkres==1.1.4
|
76 |
+
nbclient==0.9.0
|
77 |
+
nbconvert==7.16.1
|
78 |
+
nbformat==5.9.2
|
79 |
+
nest-asyncio==1.6.0
|
80 |
+
networkx==3.1
|
81 |
+
notebook==7.1.1
|
82 |
+
notebook_shim==0.2.4
|
83 |
+
numexpr==2.8.7
|
84 |
+
numpy==1.26.4
|
85 |
+
overrides==7.7.0
|
86 |
+
packaging==23.1
|
87 |
+
pandas==2.1.4
|
88 |
+
pandocfilters==1.5.1
|
89 |
+
parso==0.8.3
|
90 |
+
pexpect==4.8.0
|
91 |
+
pillow==10.2.0
|
92 |
+
pip==23.3.1
|
93 |
+
platformdirs==3.10.0
|
94 |
+
ply==3.11
|
95 |
+
prometheus_client==0.20.0
|
96 |
+
prompt-toolkit==3.0.43
|
97 |
+
protobuf==4.25.3
|
98 |
+
psutil==5.9.0
|
99 |
+
ptyprocess==0.7.0
|
100 |
+
pure-eval==0.2.2
|
101 |
+
pyarrow==14.0.2
|
102 |
+
pycparser==2.21
|
103 |
+
Pygments==2.15.1
|
104 |
+
pyparsing==3.0.9
|
105 |
+
PyQt5==5.15.10
|
106 |
+
PyQt5-sip==12.13.0
|
107 |
+
PySocks==1.7.1
|
108 |
+
python-dateutil==2.8.2
|
109 |
+
python-json-logger==2.0.7
|
110 |
+
pytz==2023.3.post1
|
111 |
+
PyYAML==6.0.1
|
112 |
+
pyzmq==25.1.2
|
113 |
+
qtconsole==5.5.1
|
114 |
+
QtPy==2.4.1
|
115 |
+
referencing==0.33.0
|
116 |
+
regex==2023.10.3
|
117 |
+
requests==2.31.0
|
118 |
+
responses==0.13.3
|
119 |
+
rfc3339-validator==0.1.4
|
120 |
+
rfc3986-validator==0.1.1
|
121 |
+
rpds-py==0.18.0
|
122 |
+
safetensors==0.4.2
|
123 |
+
scikit-learn==1.3.0
|
124 |
+
scipy==1.11.4
|
125 |
+
seaborn==0.12.2
|
126 |
+
Send2Trash==1.8.2
|
127 |
+
sentencepiece==0.2.0
|
128 |
+
setuptools==68.2.2
|
129 |
+
sip==6.7.12
|
130 |
+
six==1.16.0
|
131 |
+
sniffio==1.3.1
|
132 |
+
soupsieve==2.5
|
133 |
+
stack-data==0.2.0
|
134 |
+
sympy==1.12
|
135 |
+
terminado==0.18.0
|
136 |
+
threadpoolctl==2.2.0
|
137 |
+
tinycss2==1.2.1
|
138 |
+
tokenizers==0.15.1
|
139 |
+
tomli==2.0.1
|
140 |
+
torch==2.2.0
|
141 |
+
torchaudio==2.2.0
|
142 |
+
tornado==6.3.3
|
143 |
+
tqdm==4.65.0
|
144 |
+
traitlets==5.7.1
|
145 |
+
transformers==4.38.1
|
146 |
+
triton==2.2.0
|
147 |
+
types-python-dateutil==2.8.19.20240106
|
148 |
+
typing_extensions==4.9.0
|
149 |
+
tzdata==2023.3
|
150 |
+
uri-template==1.3.0
|
151 |
+
urllib3==2.1.0
|
152 |
+
wcwidth==0.2.5
|
153 |
+
webcolors==1.13
|
154 |
+
webencodings==0.5.1
|
155 |
+
websocket-client==1.7.0
|
156 |
+
Werkzeug==2.3.8
|
157 |
+
wheel==0.41.2
|
158 |
+
widgetsnbextension==4.0.10
|
159 |
+
yarl==1.9.3
|