Spaces:
Runtime error
Runtime error
Create requirements.txt
Browse files- requirements.txt +19 -0
requirements.txt
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Core dependencies
|
2 |
+
gradio==4.19.2
|
3 |
+
fastapi==0.109.2
|
4 |
+
uvicorn==0.27.1
|
5 |
+
pydantic==2.6.1
|
6 |
+
|
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.2.0
|
13 |
+
transformers==4.37.2
|
14 |
+
accelerate==0.27.2
|
15 |
+
|
16 |
+
# Optional but recommended for performance
|
17 |
+
python-jose==3.3.0 # for JWT handling if you add auth later
|
18 |
+
gunicorn==21.2.0 # for production deployment
|
19 |
+
python-dotenv==1.0.0 # for environment variables
|