fschwartzer commited on
Commit
b3053e9
·
1 Parent(s): 80eb9a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -63,8 +63,9 @@ with st.sidebar:
63
  # Slider for setting the zoom level
64
  zoom_level = st.slider('Nível de zoom', min_value=1, max_value=15, value=zoom_level)
65
 
66
- # Slider to set the radius in meters (conditionally visible)
67
- radius_in_meters = st.slider('Selecione raio (em metros)', min_value=100, max_value=5000, value=1000, visible=radius_visible)
 
68
 
69
  # Filter data based on the radius
70
  if selected_coords == 'Custom':
 
63
  # Slider for setting the zoom level
64
  zoom_level = st.slider('Nível de zoom', min_value=1, max_value=15, value=zoom_level)
65
 
66
+ # Conditionally render the radius slider
67
+ if radius_visible:
68
+ radius_in_meters = st.slider('Selecione raio (em metros)', min_value=100, max_value=5000, value=1000)
69
 
70
  # Filter data based on the radius
71
  if selected_coords == 'Custom':