Spaces:
Sleeping
Sleeping
Commit
·
4c4346c
1
Parent(s):
fbb321f
Fix NumPy compatibility issue with OpenCV
Browse files- Pin numpy<2.0.0 to resolve OpenCV import error
- Update opencv-python-headless to compatible version
- Ensure dependency compatibility for HuggingFace Spaces
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
- requirements.txt +2 -2
requirements.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
|
|
1 |
transformers>=4.35.0
|
2 |
torch>=2.1.0
|
3 |
torchvision>=0.16.0
|
4 |
Pillow>=10.0.0
|
5 |
-
opencv-python-headless==4.
|
6 |
colorgram.py==1.2.0
|
7 |
gradio>=4.44.1
|
8 |
-
numpy>=1.24.0
|
9 |
huggingface-hub>=0.19.0
|
|
|
1 |
+
numpy<2.0.0
|
2 |
transformers>=4.35.0
|
3 |
torch>=2.1.0
|
4 |
torchvision>=0.16.0
|
5 |
Pillow>=10.0.0
|
6 |
+
opencv-python-headless==4.10.0.84
|
7 |
colorgram.py==1.2.0
|
8 |
gradio>=4.44.1
|
|
|
9 |
huggingface-hub>=0.19.0
|