Spaces:
Sleeping
Sleeping
Create requirements.txt
Browse files- requirements.txt +27 -0
requirements.txt
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core web frameworks
|
| 2 |
+
fastapi==0.110.0
|
| 3 |
+
uvicorn[standard]==0.29.0
|
| 4 |
+
|
| 5 |
+
# Frontend interface
|
| 6 |
+
gradio==4.22.0
|
| 7 |
+
|
| 8 |
+
# For HTTP requests from Gradio to FastAPI
|
| 9 |
+
requests==2.31.0
|
| 10 |
+
|
| 11 |
+
# Data validation
|
| 12 |
+
pydantic==2.6.4
|
| 13 |
+
pydantic-settings==2.2.1 # Optional for config management
|
| 14 |
+
|
| 15 |
+
# AI/NLP models (optional depending on use case)
|
| 16 |
+
transformers==4.40.0 # Optional: for Hugging Face models
|
| 17 |
+
torch==2.2.2 # Optional: required if using PyTorch models
|
| 18 |
+
scikit-learn==1.4.2 # Optional: AI/ML tools for analysis
|
| 19 |
+
|
| 20 |
+
# Security & sandboxing (add as needed)
|
| 21 |
+
docker==7.0.0 # Optional: for task sandboxing
|
| 22 |
+
psutil==5.9.8 # Optional: system/process inspection
|
| 23 |
+
python-dotenv==1.0.1 # Optional: env var management
|
| 24 |
+
|
| 25 |
+
# Background tasks (optional)
|
| 26 |
+
celery==5.3.6
|
| 27 |
+
redis==5.0.4
|