Spaces:
Running
Running
Fix Pillow dependency conflict with Gradio 4.44.0
Browse files- Change Pillow==11.0.0 to Pillow>=8.0,<11.0
- Resolves dependency conflict where gradio 4.44.0 requires pillow<11.0
- Allows pip to install compatible Pillow version (10.x)
This fixes the build error on HuggingFace Spaces.
- requirements.txt +1 -1
requirements.txt
CHANGED
|
@@ -4,7 +4,7 @@ gradio==4.44.0
|
|
| 4 |
# Core ML and image processing
|
| 5 |
onnxruntime-gpu==1.20.1
|
| 6 |
opencv-python==4.10.0.84
|
| 7 |
-
Pillow
|
| 8 |
numpy==1.26.4
|
| 9 |
|
| 10 |
# Optional: For downloading models from HuggingFace
|
|
|
|
| 4 |
# Core ML and image processing
|
| 5 |
onnxruntime-gpu==1.20.1
|
| 6 |
opencv-python==4.10.0.84
|
| 7 |
+
Pillow>=8.0,<11.0
|
| 8 |
numpy==1.26.4
|
| 9 |
|
| 10 |
# Optional: For downloading models from HuggingFace
|