Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +5 -7
requirements.txt
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
# main/requirements.txt
|
| 2 |
|
| 3 |
# --- Core Dependencies for the IDM-VTON Model ---
|
|
|
|
|
|
|
| 4 |
torch==2.1.2
|
| 5 |
torchvision==0.16.2
|
| 6 |
transformers==4.36.2
|
|
@@ -8,19 +10,15 @@ diffusers==0.25.0
|
|
| 8 |
accelerate==0.26.1
|
| 9 |
huggingface_hub==0.20.3
|
| 10 |
|
| 11 |
-
# --- Dependencies for
|
|
|
|
| 12 |
fvcore
|
| 13 |
pyyaml==5.1
|
| 14 |
-
# This tells pip to install the local packages located in these directories.
|
| 15 |
-
-e ./detectron2
|
| 16 |
-
-e ./densepose
|
| 17 |
-
|
| 18 |
-
# --- Image and Data Processing Libraries ---
|
| 19 |
numpy==1.24.4
|
| 20 |
Pillow==9.4.0
|
| 21 |
scikit-image==0.21.0
|
| 22 |
opencv-python==4.7.0.72
|
| 23 |
-
scipy==1.1
|
| 24 |
|
| 25 |
# --- Other Utilities ---
|
| 26 |
gradio
|
|
|
|
| 1 |
# main/requirements.txt
|
| 2 |
|
| 3 |
# --- Core Dependencies for the IDM-VTON Model ---
|
| 4 |
+
# Pinning versions that are known to be stable together.
|
| 5 |
+
# This huggingface_hub version is the key to fixing the runtime error.
|
| 6 |
torch==2.1.2
|
| 7 |
torchvision==0.16.2
|
| 8 |
transformers==4.36.2
|
|
|
|
| 10 |
accelerate==0.26.1
|
| 11 |
huggingface_hub==0.20.3
|
| 12 |
|
| 13 |
+
# --- Dependencies for Detectron2 & Other Operations ---
|
| 14 |
+
# These are the external libraries your code needs to run.
|
| 15 |
fvcore
|
| 16 |
pyyaml==5.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
numpy==1.24.4
|
| 18 |
Pillow==9.4.0
|
| 19 |
scikit-image==0.21.0
|
| 20 |
opencv-python==4.7.0.72
|
| 21 |
+
scipy==1.10.1
|
| 22 |
|
| 23 |
# --- Other Utilities ---
|
| 24 |
gradio
|