Spaces:
Build error
Build error
Update requirements.txt
Browse files- requirements.txt +3 -0
requirements.txt
CHANGED
|
@@ -2,6 +2,9 @@
|
|
| 2 |
--extra-index-url https://download.pytorch.org/whl/cu124
|
| 3 |
torch
|
| 4 |
torchvision
|
|
|
|
|
|
|
|
|
|
| 5 |
|
| 6 |
numpy>=1.26.4
|
| 7 |
opencv-python-headless
|
|
|
|
| 2 |
--extra-index-url https://download.pytorch.org/whl/cu124
|
| 3 |
torch
|
| 4 |
torchvision
|
| 5 |
+
# requirements.txt — Pin both (safest for legacy apps)
|
| 6 |
+
gradio>=4.44.0,<5.0
|
| 7 |
+
huggingface_hub>=0.21.0,<0.24.0
|
| 8 |
|
| 9 |
numpy>=1.26.4
|
| 10 |
opencv-python-headless
|