wwieerrz commited on
Commit
30731b2
·
1 Parent(s): 463afdd

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.

Files changed (1) hide show
  1. 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==11.0.0
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