Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +34 -5
requirements.txt
CHANGED
|
@@ -6,7 +6,7 @@ starlette==0.45.3
|
|
| 6 |
|
| 7 |
# βββββββββ Data Processing & Visualization βββββββββ
|
| 8 |
pandas>=1.5.0
|
| 9 |
-
numpy>=1.21.0
|
| 10 |
matplotlib>=3.5.0
|
| 11 |
plotly>=5.0.0
|
| 12 |
cartopy>=0.21.0
|
|
@@ -18,16 +18,45 @@ statsmodels>=0.13.0
|
|
| 18 |
|
| 19 |
# βββββββββ Advanced ML Features βββββββββ
|
| 20 |
umap-learn>=0.5.0 # UMAP dimensionality reduction for clustering
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
# βββββββββ Climate & Weather Data βββββββββ
|
| 23 |
xarray>=0.20.0
|
| 24 |
requests>=2.28.0
|
| 25 |
tropycal>=1.0.0
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
# βββββββββ Fixed Protobuf Compatibility βββββββββ
|
| 28 |
protobuf>=3.20.0,<4.0.0 # Fixed protobuf version for compatibility
|
| 29 |
|
| 30 |
-
# βββββββββ
|
| 31 |
-
|
| 32 |
-
#
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# βββββββββ Data Processing & Visualization βββββββββ
|
| 8 |
pandas>=1.5.0
|
| 9 |
+
numpy>=1.21.0,<2.0.0
|
| 10 |
matplotlib>=3.5.0
|
| 11 |
plotly>=5.0.0
|
| 12 |
cartopy>=0.21.0
|
|
|
|
| 18 |
|
| 19 |
# βββββββββ Advanced ML Features βββββββββ
|
| 20 |
umap-learn>=0.5.0 # UMAP dimensionality reduction for clustering
|
| 21 |
+
numba>=0.56.0 # Required for UMAP performance
|
| 22 |
+
pynndescent>=0.5.0 # UMAP dependency for nearest neighbor search
|
| 23 |
+
|
| 24 |
+
# βββββββββ Enhanced Prediction Models βββββββββ
|
| 25 |
+
tensorflow-cpu>=2.12.0,<2.16.0 # CNN features for advanced predictions
|
| 26 |
+
# Note: Using CPU version for better Hugging Face Spaces compatibility
|
| 27 |
|
| 28 |
# βββββββββ Climate & Weather Data βββββββββ
|
| 29 |
xarray>=0.20.0
|
| 30 |
requests>=2.28.0
|
| 31 |
tropycal>=1.0.0
|
| 32 |
|
| 33 |
+
# βββββββββ Animation & Video Processing βββββββββ
|
| 34 |
+
imageio>=2.20.0 # For animation export
|
| 35 |
+
imageio-ffmpeg>=0.4.7 # FFmpeg support for video generation
|
| 36 |
+
opencv-python-headless>=4.6.0 # Computer vision for enhanced animations
|
| 37 |
+
|
| 38 |
+
# βββββββββ Geospatial Processing βββββββββ
|
| 39 |
+
shapely>=1.8.0 # Geometric operations
|
| 40 |
+
geopandas>=0.12.0 # Geospatial data analysis (optional but useful)
|
| 41 |
+
|
| 42 |
+
# βββββββββ Performance & Optimization βββββββββ
|
| 43 |
+
joblib>=1.1.0 # Parallel processing for ML models
|
| 44 |
+
threadpoolctl>=3.0.0 # Thread pool control for performance
|
| 45 |
+
|
| 46 |
# βββββββββ Fixed Protobuf Compatibility βββββββββ
|
| 47 |
protobuf>=3.20.0,<4.0.0 # Fixed protobuf version for compatibility
|
| 48 |
|
| 49 |
+
# βββββββββ Error Handling & Logging βββββββββ
|
| 50 |
+
tqdm>=4.64.0 # Progress bars for data loading
|
| 51 |
+
colorlog>=6.6.0 # Enhanced logging with colors
|
| 52 |
+
|
| 53 |
+
# βββββββββ Optional Enhanced Features βββββββββ
|
| 54 |
+
# Uncomment the following for additional capabilities:
|
| 55 |
+
|
| 56 |
+
netcdf4>=1.6.0 # For advanced climate data formats
|
| 57 |
+
h5py>=3.7.0 # HDF5 support for large datasets
|
| 58 |
+
zarr>=2.12.0 # Chunked, compressed arrays
|
| 59 |
+
dask>=2022.8.0 # Parallel computing for large datasets
|
| 60 |
+
|
| 61 |
+
# Note: The app gracefully handles missing optional dependencies
|
| 62 |
+
# and provides fallback functionality when advanced features are unavailable
|