YashMK89 commited on
Commit
c871e67
·
verified ·
1 Parent(s): 4d4270f

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -227,7 +227,7 @@ if file_upload is not None:
227
  st.stop() # Stop further processing if polygons are detected
228
 
229
  # Processing the point data
230
- with st.spinner('Processing data...'):
231
  if locations_df is not None and not locations_df.empty:
232
  # For GeoJSON data, the coordinates are in the geometry column
233
  if 'geometry' in locations_df.columns:
@@ -284,7 +284,7 @@ if file_upload is not None:
284
  st.stop() # Stop further processing if point data is detected
285
 
286
  # Processing the polygon data
287
- with st.spinner('Processing data...'):
288
  if locations_df is not None and not locations_df.empty:
289
  # Ensure the 'geometry' column exists in the dataframe
290
  if 'geometry' not in locations_df.columns:
 
227
  st.stop() # Stop further processing if polygons are detected
228
 
229
  # Processing the point data
230
+ with st.spinner('Processing Map...'):
231
  if locations_df is not None and not locations_df.empty:
232
  # For GeoJSON data, the coordinates are in the geometry column
233
  if 'geometry' in locations_df.columns:
 
284
  st.stop() # Stop further processing if point data is detected
285
 
286
  # Processing the polygon data
287
+ with st.spinner('Processing Map...'):
288
  if locations_df is not None and not locations_df.empty:
289
  # Ensure the 'geometry' column exists in the dataframe
290
  if 'geometry' not in locations_df.columns: