Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +7 -18
requirements.txt
CHANGED
|
@@ -1,25 +1,14 @@
|
|
| 1 |
-
# The Final,
|
| 2 |
-
|
| 3 |
-
#
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
accelerate==0.25.0
|
| 8 |
-
controlnet_aux==0.0.7
|
| 9 |
-
huggingface-hub==0.19.4
|
| 10 |
|
| 11 |
-
#
|
| 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
|