MJSHIN0122 commited on
Commit
06da17b
·
1 Parent(s): a5bfbd4

add requirements.txt

Browse files
Files changed (2) hide show
  1. Dockerfile +14 -0
  2. requirements.txt +176 -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.11
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", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
requirements.txt ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ accelerate==0.28.0
2
+ aiofiles==23.2.1
3
+ aiohttp==3.9.3
4
+ aiosignal==1.3.1
5
+ altair==5.2.0
6
+ annotated-types==0.6.0
7
+ anthropic==0.21.3
8
+ anyio==4.2.0
9
+ asttokens==2.4.1
10
+ async-timeout==4.0.3
11
+ attrs==23.2.0
12
+ backoff==2.2.1
13
+ black==23.12.1
14
+ blinker==1.7.0
15
+ cachetools==5.3.2
16
+ certifi==2024.2.2
17
+ charset-normalizer==3.3.2
18
+ click==8.1.7
19
+ cohere==4.57
20
+ colorama==0.4.6
21
+ colorlog==6.8.2
22
+ contourpy==1.2.0
23
+ cycler==0.12.1
24
+ dataclasses-json==0.6.4
25
+ datasets==2.18.0
26
+ decorator==5.1.1
27
+ Deprecated==1.2.14
28
+ dill==0.3.8
29
+ dirtyjson==1.0.8
30
+ distro==1.9.0
31
+ dnspython==2.6.1
32
+ edge-tts==6.1.7
33
+ email_validator==2.1.1
34
+ exceptiongroup==1.2.0
35
+ executing==2.0.1
36
+ faiss-cpu==1.7.4
37
+ fastapi==0.109.2
38
+ fastavro==1.9.4
39
+ ffmpy==0.3.2
40
+ filelock==3.13.1
41
+ FlagEmbedding==1.2.8
42
+ Flask==3.0.2
43
+ Flask-Cors==4.0.0
44
+ fonttools==4.48.1
45
+ frozenlist==1.4.1
46
+ fsspec==2024.2.0
47
+ gitdb==4.0.11
48
+ GitPython==3.1.42
49
+ gradio==4.18.0
50
+ gradio_client==0.10.0
51
+ greenlet==3.0.3
52
+ h11==0.14.0
53
+ httpcore==1.0.2
54
+ httptools==0.6.1
55
+ httpx==0.26.0
56
+ huggingface-hub==0.20.3
57
+ idna==3.6
58
+ importlib-metadata==6.11.0
59
+ importlib-resources==6.1.1
60
+ ipython==8.21.0
61
+ itsdangerous==2.1.2
62
+ jedi==0.19.1
63
+ Jinja2==3.1.3
64
+ joblib==1.3.2
65
+ JPype1==1.5.0
66
+ jsonpatch==1.33
67
+ jsonpickle==3.0.2
68
+ jsonpointer==2.4
69
+ jsonschema==4.21.1
70
+ jsonschema-specifications==2023.12.1
71
+ kiwisolver==1.4.5
72
+ konlpy==0.6.0
73
+ langchain==0.1.5
74
+ langchain-community==0.0.18
75
+ langchain-core==0.1.19
76
+ langchain-openai==0.0.6
77
+ langsmith==0.0.86
78
+ llama-index==0.9.44
79
+ lxml==5.1.0
80
+ markdown-it-py==3.0.0
81
+ MarkupSafe==2.1.5
82
+ marshmallow==3.20.2
83
+ matplotlib==3.8.2
84
+ matplotlib-inline==0.1.6
85
+ mdurl==0.1.2
86
+ mpmath==1.3.0
87
+ multidict==6.0.5
88
+ multiprocess==0.70.16
89
+ mypy-extensions==1.0.0
90
+ neo4j-driver==5.17.0
91
+ nest-asyncio==1.6.0
92
+ networkx==3.2.1
93
+ nltk==3.8.1
94
+ numpy==1.26.4
95
+ openai==1.11.1
96
+ orjson==3.9.13
97
+ packaging==23.2
98
+ pandas==2.2.0
99
+ parso==0.8.3
100
+ pathspec==0.12.1
101
+ pillow==10.2.0
102
+ platformdirs==4.2.0
103
+ prompt-toolkit==3.0.43
104
+ protobuf==4.25.2
105
+ psutil==5.9.8
106
+ pure-eval==0.2.2
107
+ pyarrow==15.0.0
108
+ pyarrow-hotfix==0.6
109
+ pydantic==2.6.1
110
+ pydantic-extra-types==2.7.0
111
+ pydantic-settings==2.2.1
112
+ pydantic_core==2.16.2
113
+ pydeck==0.8.1b0
114
+ pydot==2.0.0
115
+ pydub==0.25.1
116
+ Pygments==2.17.2
117
+ pyparsing==3.1.1
118
+ python-dateutil==2.8.2
119
+ python-dotenv==1.0.1
120
+ python-multipart==0.0.9
121
+ pytz==2024.1
122
+ pyvis==0.3.2
123
+ PyYAML==6.0.1
124
+ referencing==0.33.0
125
+ regex==2023.12.25
126
+ requests==2.31.0
127
+ rich==13.7.0
128
+ rpds-py==0.17.1
129
+ ruff==0.2.1
130
+ safetensors==0.4.2
131
+ scikit-learn==1.4.0
132
+ scipy==1.12.0
133
+ semantic-router==0.0.29
134
+ semantic-version==2.10.0
135
+ sentence-transformers==2.3.1
136
+ sentencepiece==0.1.99
137
+ shellingham==1.5.4
138
+ six==1.16.0
139
+ smmap==5.0.1
140
+ sniffio==1.3.0
141
+ SQLAlchemy==2.0.25
142
+ stack-data==0.6.3
143
+ starlette==0.36.3
144
+ streamlit==1.31.1
145
+ sympy==1.12
146
+ tenacity==8.2.3
147
+ threadpoolctl==3.2.0
148
+ tiktoken==0.6.0
149
+ tokenizers==0.15.1
150
+ toml==0.10.2
151
+ tomli==2.0.1
152
+ tomlkit==0.12.0
153
+ toolz==0.12.1
154
+ torch==2.2.0
155
+ tornado==6.4
156
+ tqdm==4.66.1
157
+ traitlets==5.14.1
158
+ transformers==4.37.2
159
+ typer==0.9.0
160
+ typing-inspect==0.9.0
161
+ typing_extensions==4.9.0
162
+ tzdata==2023.4
163
+ tzlocal==5.2
164
+ ujson==5.9.0
165
+ urllib3==2.2.0
166
+ uvicorn==0.27.1
167
+ validators==0.22.0
168
+ watchdog==4.0.0
169
+ watchfiles==0.21.0
170
+ wcwidth==0.2.13
171
+ websockets==11.0.3
172
+ Werkzeug==3.0.1
173
+ wrapt==1.16.0
174
+ xxhash==3.4.1
175
+ yarl==1.9.4
176
+ zipp==3.17.0