Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +20 -4
requirements.txt
CHANGED
@@ -1,4 +1,20 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Force NumPy to be below version 2 for compatibility
|
2 |
+
numpy<2
|
3 |
+
|
4 |
+
# PyTorch β pin to a tested version that works well with your fastai version.
|
5 |
+
torch==1.13.1
|
6 |
+
|
7 |
+
# fastai β select a version compatible with your model and torch.
|
8 |
+
fastai==2.7.12
|
9 |
+
|
10 |
+
# Gradio β ensure you are using a version that supports your API usage.
|
11 |
+
gradio==3.25.0
|
12 |
+
|
13 |
+
# scikit-image β for image processing utilities.
|
14 |
+
scikit-image>=0.19.0
|
15 |
+
|
16 |
+
# Pillow β used by fastai and for image loading.
|
17 |
+
Pillow>=9.0.0
|
18 |
+
|
19 |
+
# Optional: pybind11 can be specified if you require rebuilding modules with it.
|
20 |
+
pybind11>=2.12
|