MSU576 commited on
Commit
3f79082
·
verified ·
1 Parent(s): 6731d23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1518,8 +1518,8 @@ def locator_page():
1518
  # If user pressed compute, extract ROI and compute
1519
  if st.session_state.get("compute_button", False):
1520
  roi = get_roi_from_map(m)
1521
- if roi is None:
1522
- st.error("No drawn ROI found. Please draw a polygon/rectangle and press Compute Summaries again.")
1523
  return
1524
 
1525
  # ensure ROI is ee.Geometry
 
1518
  # If user pressed compute, extract ROI and compute
1519
  if st.session_state.get("compute_button", False):
1520
  roi = get_roi_from_map(m)
1521
+ if roi is None:
1522
+ st.error("No drawn ROI found. Please draw a polygon/rectangle and press Compute Summaries again.")
1523
  return
1524
 
1525
  # ensure ROI is ee.Geometry