euler314 commited on
Commit
3990dbb
Β·
verified Β·
1 Parent(s): 8c52eff

Update requirements.txt

Browse files
Files changed (1) hide show
  1. 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
- # ───────── Optional TensorFlow (enable if desired) ─────────
31
- # tensorflow-cpu>=2.12.0 # Uncomment for CNN features
32
- # Note: May cause protobuf conflicts in some environments
33
- # The app gracefully handles absence and provides physics-based predictions
 
 
 
 
 
 
 
 
 
 
 
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