Spaces:
Sleeping
Sleeping
Commit
·
e085617
1
Parent(s):
c9cdb74
Update dependencies in requirements.txt; upgrade FastAPI and Uvicorn, add new libraries for model handling and API requests
Browse files- requirements.txt +22 -4
requirements.txt
CHANGED
@@ -1,5 +1,23 @@
|
|
1 |
-
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
python-multipart==0.0.6
|
4 |
-
pyllamacpp==2.4.0
|
5 |
-
pydantic==2.4.2
|
|
|
1 |
+
# Core dependencies
|
2 |
+
fastapi==0.109.2
|
3 |
+
uvicorn==0.27.1
|
4 |
+
pydantic==2.6.1
|
5 |
+
huggingface_hub
|
6 |
+
bitsandbytes
|
7 |
+
# For API requests and handling
|
8 |
+
requests==2.31.0
|
9 |
+
python-multipart==0.0.9
|
10 |
+
|
11 |
+
# For model handling
|
12 |
+
torch==2.3.1
|
13 |
+
transformers==4.43.1
|
14 |
+
vllm==0.5.3.post1
|
15 |
+
accelerate==0.27.2
|
16 |
+
|
17 |
+
# Optional but recommended for performance
|
18 |
+
python-jose==3.3.0 # for JWT handling if you add auth later
|
19 |
+
gunicorn==21.2.0 # for production deployment
|
20 |
+
python-dotenv==1.0.0 # for environment variables
|
21 |
+
|
22 |
python-multipart==0.0.6
|
23 |
+
pyllamacpp==2.4.0
|
|