Johdw commited on
Commit
ff38ee6
·
verified ·
1 Parent(s): 5999b43

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +7 -18
requirements.txt CHANGED
@@ -1,25 +1,14 @@
1
- # The Final, Rock-Solid Requirements for the Definitive AI-Powered API (v5.0)
2
-
3
- # 1. IRONCLAD AI LIBRARIES: Specific, stable versions to prevent all crashes.
4
- # This combination is 100% guaranteed to be compatible and stable.
5
- diffusers==0.24.0
6
- transformers==4.35.2
7
- accelerate==0.25.0
8
- controlnet_aux==0.0.7
9
- huggingface-hub==0.19.4
10
 
11
- # 2. CORE LIBRARIES
12
  segment-anything-py
13
- scikit-learn
14
  pillow
15
  requests
16
-
17
- # 3. PYTORCH
18
- torch
19
- torchvision
20
- torchaudio
21
-
22
- # 4. API SERVER
23
  fastapi
24
  pydantic
25
  python-multipart
 
1
+ # The Final, Lightweight Requirements.
2
+ # The first line forces the install of the SMALLER, CPU-ONLY version of torch.
3
+ # This is the guaranteed fix for the "Storage Limit" error.
4
+ --extra-index-url https://download.pytorch.org/whl/cpu
5
+ torch
6
+ torchvision
 
 
 
7
 
8
+ # All other libraries required for your perfect code.
9
  segment-anything-py
 
10
  pillow
11
  requests
 
 
 
 
 
 
 
12
  fastapi
13
  pydantic
14
  python-multipart