MJSHIN0122
commited on
Commit
•
8a4c09f
1
Parent(s):
5041e66
update Dockerfile, requirements.txt
Browse files- Dockerfile +11 -0
- requirements.txt +65 -0
Dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.9
|
2 |
+
|
3 |
+
WORKDIR /code
|
4 |
+
|
5 |
+
COPY ./requirements.txt /code/requirements.txt
|
6 |
+
|
7 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
+
|
9 |
+
COPY . .
|
10 |
+
|
11 |
+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
requirements.txt
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
aiohttp==3.9.3
|
2 |
+
aiosignal==1.3.1
|
3 |
+
annotated-types==0.6.0
|
4 |
+
anyio==4.2.0
|
5 |
+
async-timeout==4.0.3
|
6 |
+
attrs==23.2.0
|
7 |
+
blinker==1.7.0
|
8 |
+
certifi==2024.2.2
|
9 |
+
charset-normalizer==3.3.2
|
10 |
+
click==8.1.7
|
11 |
+
colorama==0.4.6
|
12 |
+
distro==1.9.0
|
13 |
+
exceptiongroup==1.2.0
|
14 |
+
faiss-cpu==1.7.4
|
15 |
+
filelock==3.13.1
|
16 |
+
Flask==3.0.2
|
17 |
+
Flask-Cors==4.0.0
|
18 |
+
frozenlist==1.4.1
|
19 |
+
fsspec==2024.2.0
|
20 |
+
h11==0.14.0
|
21 |
+
httpcore==1.0.2
|
22 |
+
httpx==0.26.0
|
23 |
+
huggingface-hub==0.20.3
|
24 |
+
idna==3.6
|
25 |
+
itsdangerous==2.1.2
|
26 |
+
Jinja2==3.1.3
|
27 |
+
joblib==1.3.2
|
28 |
+
MarkupSafe==2.1.5
|
29 |
+
mpmath==1.3.0
|
30 |
+
multidict==6.0.5
|
31 |
+
networkx==3.2.1
|
32 |
+
nltk==3.8.1
|
33 |
+
numpy==1.26.4
|
34 |
+
openai==1.11.1
|
35 |
+
packaging==23.2
|
36 |
+
pandas==2.2.0
|
37 |
+
pillow==10.2.0
|
38 |
+
pydantic==2.6.1
|
39 |
+
pydantic_core==2.16.2
|
40 |
+
pydot==2.0.0
|
41 |
+
pyparsing==3.1.1
|
42 |
+
python-dateutil==2.8.2
|
43 |
+
pytz==2024.1
|
44 |
+
PyYAML==6.0.1
|
45 |
+
regex==2023.12.25
|
46 |
+
requests==2.31.0
|
47 |
+
safetensors==0.4.2
|
48 |
+
scikit-learn==1.4.0
|
49 |
+
scipy==1.12.0
|
50 |
+
sentence-transformers==2.3.1
|
51 |
+
sentencepiece==0.1.99
|
52 |
+
six==1.16.0
|
53 |
+
sniffio==1.3.0
|
54 |
+
sympy==1.12
|
55 |
+
threadpoolctl==3.2.0
|
56 |
+
tokenizers==0.15.1
|
57 |
+
torch==2.2.0
|
58 |
+
tqdm==4.66.1
|
59 |
+
transformers==4.37.2
|
60 |
+
typing_extensions==4.9.0
|
61 |
+
tzdata==2023.4
|
62 |
+
urllib3==2.2.0
|
63 |
+
Werkzeug==3.0.1
|
64 |
+
yarl==1.9.4
|
65 |
+
edge_tts==6.1.7
|