symonw commited on
Commit
83bfb04
·
verified ·
1 Parent(s): bac0864

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +4 -1
requirements.txt CHANGED
@@ -1,3 +1,5 @@
 
 
1
  transformers==4.44.2
2
  torch
3
  opencv-python
@@ -7,4 +9,5 @@ grad-cam>=1.5.0
7
  spaces
8
  timm>=0.9.0
9
  albumentations>=1.0.0
10
- scikit-image==0.24.0 # <-- Pin to this: wheels available for 3.9–3.12, often works on 3.13 too
 
 
1
+ pydantic==2.10.6 # Key fix for Gradio API errors in 2025-2026
2
+ gradio==5.9.0 # Matches original Space SDK version
3
  transformers==4.44.2
4
  torch
5
  opencv-python
 
9
  spaces
10
  timm>=0.9.0
11
  albumentations>=1.0.0
12
+ scikit-image==0.24.0
13
+ pillow # Often needed implicitly for image handling