Stanley03 commited on
Commit
0c0ec7d
·
verified ·
1 Parent(s): 4f06181

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +19 -22
requirements.txt CHANGED
@@ -1,27 +1,24 @@
1
- # Core Dependencies - Latest Versions (2026)
2
- torch>=2.5.0
3
- transformers>=4.46.0
4
- accelerate>=1.1.0
5
- bitsandbytes>=0.44.0
6
- optimum>=1.23.0
7
 
8
- # Web Framework - FastAPI for async performance
9
- fastapi>=0.115.0
10
- uvicorn[standard]>=0.32.0
11
- python-multipart>=0.0.9
12
 
13
- # CORS Support
14
- fastapi-cors>=0.0.6
15
 
16
- # Image Generation - Latest Stable Diffusion
17
- diffusers>=0.31.0
18
- Pillow>=10.4.0
19
-
20
- # Caching & Performance
21
- cachetools>=5.5.0
22
- aiofiles>=24.1.0
23
 
24
  # Utilities
25
- pydantic>=2.9.0
26
- pydantic-settings>=2.6.0
27
- python-dotenv>=1.0.1
 
 
 
 
 
 
1
+ # Core Flask API
2
+ flask==2.3.3
3
+ flask-cors==4.0.0
 
 
 
4
 
5
+ # Core ML & Transformers
6
+ torch==2.1.0
7
+ transformers==4.36.0
8
+ accelerate==0.25.0
9
 
10
+ # Quantization (for smaller, faster models)
11
+ bitsandbytes==0.41.3
12
 
13
+ # Image Processing
14
+ pillow==10.1.0
 
 
 
 
 
15
 
16
  # Utilities
17
+ numpy==1.24.3
18
+ requests==2.31.0
19
+
20
+ # Hugging Face Spaces specific
21
+ gunicorn==21.2.0
22
+
23
+ # Development (optional)
24
+ python-dotenv==1.0.0