Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- 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
|
|
|
|
|
|
| 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
|