Update requirements.txt
Browse files- requirements.txt +35 -2
requirements.txt
CHANGED
|
@@ -1,13 +1,46 @@
|
|
|
|
|
| 1 |
fastapi==0.105.0
|
| 2 |
uvicorn==0.23.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
transformers==4.34.0
|
| 5 |
torch>=2.0.0
|
|
|
|
|
|
|
| 6 |
langchain==0.0.318
|
| 7 |
langchain-community>=0.3.31
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
datasets
|
| 9 |
-
huggingface-hub>=0.
|
| 10 |
hf-transfer>=0.1.4
|
|
|
|
|
|
|
| 11 |
protobuf<4
|
| 12 |
click<8.1
|
| 13 |
pydantic~=1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# FastAPI server
|
| 2 |
fastapi==0.105.0
|
| 3 |
uvicorn==0.23.0
|
| 4 |
+
|
| 5 |
+
# Frontend / UI
|
| 6 |
+
gradio==3.53.2 # latest stable Gradio with compatible hf-hub
|
| 7 |
+
gradio-client==0.6.1 # compatible with gradio 3.53.2
|
| 8 |
+
|
| 9 |
+
# Transformers & ML
|
| 10 |
transformers==4.34.0
|
| 11 |
torch>=2.0.0
|
| 12 |
+
|
| 13 |
+
# LangChain
|
| 14 |
langchain==0.0.318
|
| 15 |
langchain-community>=0.3.31
|
| 16 |
+
dataclasses-json>=0.5.7,<0.7
|
| 17 |
+
tenacity>=8.1.0,<9.0.0
|
| 18 |
+
SQLAlchemy>=1.4,<3.0
|
| 19 |
+
langsmith>=0.0.43,<0.1.0
|
| 20 |
+
|
| 21 |
+
# Dataset and Hugging Face
|
| 22 |
datasets
|
| 23 |
+
huggingface-hub>=0.16.4,<1.0
|
| 24 |
hf-transfer>=0.1.4
|
| 25 |
+
|
| 26 |
+
# Other dependencies
|
| 27 |
protobuf<4
|
| 28 |
click<8.1
|
| 29 |
pydantic~=1.0
|
| 30 |
+
aiohttp>=3.8.3,<4.0.0
|
| 31 |
+
aiofiles>=22.0,<24.0
|
| 32 |
+
numpy
|
| 33 |
+
pandas>=1.0,<3.0
|
| 34 |
+
orjson~=3.0
|
| 35 |
+
matplotlib~=3.0
|
| 36 |
+
altair>=4.2.0,<6.0
|
| 37 |
+
ffmpy
|
| 38 |
+
pillow>=8.0,<11.0
|
| 39 |
+
pydub
|
| 40 |
+
python-multipart
|
| 41 |
+
requests~=2.0
|
| 42 |
+
semantic-version~=2.0
|
| 43 |
+
websockets>=10.0,<12.0
|
| 44 |
+
importlib-resources>=1.3,<7.0
|
| 45 |
+
jinja2<4.0
|
| 46 |
+
markupsafe~=2.0
|