ayeshh commited on
Commit
2f0685d
·
2 Parent(s): b39c8b44a8c79b

Merge branch 'main' of https://huggingface.co/spaces/odisha/wms-gfs

Browse files
Files changed (2) hide show
  1. app.py +7 -10
  2. requirements.txt +1 -1
app.py CHANGED
@@ -220,16 +220,13 @@ with col2:
220
 
221
  # Create the map
222
  m = folium.Map(location=[np.mean(lat_bounds), np.mean(lon_bounds)], zoom_start=4,)
223
- folium.GeoJson(
224
- geojson_data,
225
- style_function=lambda feature: {
226
- 'fillColor': None,
227
- 'color': 'black',
228
- 'weight': 1,
229
-
230
- },
231
- tooltip=folium.GeoJsonTooltip(fields=['District'])
232
- ).add_to(m)
233
  if add_pressure_contours:
234
  if "prmslmsl" not in st.session_state["ds_dict"]:
235
  st.warning(" 'prmslmsl' not loaded — add it to your variable list to plot contours.")
 
220
 
221
  # Create the map
222
  m = folium.Map(location=[np.mean(lat_bounds), np.mean(lon_bounds)], zoom_start=4,)
223
+ # folium.GeoJson( geojson_data, style_function=lambda feature: { 'fillColor': None,
224
+ # 'color': 'black',
225
+ # 'weight': 1,
226
+ # #
227
+ # },
228
+ # tooltip=folium.GeoJsonTooltip(fields=['District'])
229
+ #).add_to(m)
 
 
 
230
  if add_pressure_contours:
231
  if "prmslmsl" not in st.session_state["ds_dict"]:
232
  st.warning(" 'prmslmsl' not loaded — add it to your variable list to plot contours.")
requirements.txt CHANGED
@@ -5,7 +5,7 @@ hvplot
5
  netcdf4
6
  numpy
7
  ncep_data_req
8
- streamlit==1.35.0
9
  netCDF4
10
  matplotlib
11
  folium
 
5
  netcdf4
6
  numpy
7
  ncep_data_req
8
+ streamlit
9
  netCDF4
10
  matplotlib
11
  folium