Update requirements.txt
Browse files- requirements.txt +41 -1
requirements.txt
CHANGED
@@ -4,4 +4,44 @@ torch
|
|
4 |
sentence_transformers
|
5 |
gradio
|
6 |
faiss-cpu
|
7 |
-
accelerate
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
sentence_transformers
|
5 |
gradio
|
6 |
faiss-cpu
|
7 |
+
accelerate
|
8 |
+
|
9 |
+
python-jose[cryptography]
|
10 |
+
python-multipart
|
11 |
+
python-dotenv
|
12 |
+
pydantic-settings
|
13 |
+
|
14 |
+
#
|
15 |
+
# Core dependencies
|
16 |
+
fastapi==0.110.0
|
17 |
+
uvicorn==0.27.1
|
18 |
+
pydantic==2.6.1
|
19 |
+
pydantic-settings==2.1.0
|
20 |
+
|
21 |
+
# ML and Data Processing
|
22 |
+
torch>=2.2.0
|
23 |
+
transformers==4.37.2
|
24 |
+
sentence-transformers==2.2.2
|
25 |
+
faiss-cpu==1.7.4 # Use faiss-gpu if you have CUDA
|
26 |
+
numpy>=1.24.3
|
27 |
+
pandas>=2.0.0
|
28 |
+
|
29 |
+
# PDF Processing
|
30 |
+
PyPDF2==3.0.1
|
31 |
+
langchain==0.1.9
|
32 |
+
langchain-text-splitters==0.0.1
|
33 |
+
|
34 |
+
# Web and API
|
35 |
+
gradio==4.19.2
|
36 |
+
aiohttp==3.9.3
|
37 |
+
beautifulsoup4==4.12.3
|
38 |
+
requests==2.31.0
|
39 |
+
|
40 |
+
# Authentication and Security
|
41 |
+
python-jose[cryptography]==3.3.0
|
42 |
+
python-multipart==0.0.9
|
43 |
+
python-dotenv==1.0.1
|
44 |
+
|
45 |
+
# Utilities
|
46 |
+
lru-cache-dict==1.1.1
|
47 |
+
asyncio==3.4.3
|