Spaces:
Runtime error
Runtime error
Fix requirements: use --extra-index-url for torch, remove gradio dup
Browse files- requirements.txt +2 -7
requirements.txt
CHANGED
|
@@ -1,16 +1,11 @@
|
|
| 1 |
-
--
|
| 2 |
--find-links https://download.openmmlab.com/mmcv/dist/cpu/torch1.13.0/index.html
|
| 3 |
|
| 4 |
-
# Pin torch 1.13 for mmcv-full compatibility
|
| 5 |
torch==1.13.1+cpu
|
| 6 |
torchvision==0.14.1+cpu
|
| 7 |
-
|
| 8 |
-
# mmcv-full pre-built wheel for torch 1.13 + CPU + Python 3.10
|
| 9 |
mmcv-full==1.7.2
|
| 10 |
-
|
| 11 |
-
gradio>=5.0.0
|
| 12 |
-
opencv-python-headless>=4.8.0
|
| 13 |
numpy>=1.24.0,<2.0.0
|
|
|
|
| 14 |
easyocr>=1.7.0
|
| 15 |
scikit-image>=0.21.0
|
| 16 |
scipy>=1.9.0
|
|
|
|
| 1 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 2 |
--find-links https://download.openmmlab.com/mmcv/dist/cpu/torch1.13.0/index.html
|
| 3 |
|
|
|
|
| 4 |
torch==1.13.1+cpu
|
| 5 |
torchvision==0.14.1+cpu
|
|
|
|
|
|
|
| 6 |
mmcv-full==1.7.2
|
|
|
|
|
|
|
|
|
|
| 7 |
numpy>=1.24.0,<2.0.0
|
| 8 |
+
opencv-python-headless>=4.8.0
|
| 9 |
easyocr>=1.7.0
|
| 10 |
scikit-image>=0.21.0
|
| 11 |
scipy>=1.9.0
|