Spaces:
Sleeping
Sleeping
rmm
commited on
Commit
·
d77b698
1
Parent(s):
2fa08ff
chore: pinning specific versions to all py dependencies
Browse files- call_models/requirements.txt +25 -12
call_models/requirements.txt
CHANGED
|
@@ -1,17 +1,30 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
huggingface_hub
|
| 4 |
-
torch
|
| 5 |
|
| 6 |
-
pandas
|
| 7 |
-
numpy
|
| 8 |
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
folium
|
| 13 |
streamlit_folium
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
|
|
|
| 1 |
+
numpy==1.24
|
| 2 |
+
pandas==2.2.3
|
|
|
|
|
|
|
| 3 |
|
|
|
|
|
|
|
| 4 |
|
| 5 |
+
# frontend
|
| 6 |
+
streamlit==1.39.0
|
| 7 |
+
## for nice map tiles
|
| 8 |
folium
|
| 9 |
streamlit_folium
|
| 10 |
+
folium==0.18.0
|
| 11 |
+
streamlit_folium==0.23.1
|
| 12 |
+
|
| 13 |
+
# backend
|
| 14 |
+
datasets==3.0.2
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
# running ML models
|
| 18 |
+
|
| 19 |
+
## to use ML models hosted on HF
|
| 20 |
+
huggingface-hub==0.26.1
|
| 21 |
+
transformers==4.46.0
|
| 22 |
+
#torch
|
| 23 |
+
## +minimal reqs for locally running model - with PIL load
|
| 24 |
+
pytorch-lightning<=1.5.10
|
| 25 |
+
timm==0.5.4
|
| 26 |
+
pillow==10.4.0
|
| 27 |
|
| 28 |
+
## also need opencv for handling images in the later model with preprocessing
|
| 29 |
+
opencv-python-headless==4.5.5.64
|
| 30 |
+
albumentations==1.1.0
|