fschwartzer commited on
Commit
384183a
1 Parent(s): f0ab8de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,8 +78,8 @@ with st.sidebar:
78
  # Dropdown to select specific coordinates
79
  selected_coords = st.selectbox('Selecione Coordenadas', ['Random', 'Custom'])
80
  if selected_coords == 'Custom':
81
- custom_lat = st.number_input('Enter Latitude', value=filtered_data['latitude'])
82
- custom_lon = st.number_input('Enter Longitude', value=filtered_data['longitude'])
83
  radius_visible = True # Show radius slider for custom coordinates
84
  else:
85
  custom_lat, custom_lon = data['latitude'].mean(), data['longitude'].mean()
 
78
  # Dropdown to select specific coordinates
79
  selected_coords = st.selectbox('Selecione Coordenadas', ['Random', 'Custom'])
80
  if selected_coords == 'Custom':
81
+ custom_lat = st.number_input('Enter Latitude', value=filtered_data['latitude'].mean())
82
+ custom_lon = st.number_input('Enter Longitude', value=filtered_data['longitude'].mean())
83
  radius_visible = True # Show radius slider for custom coordinates
84
  else:
85
  custom_lat, custom_lon = data['latitude'].mean(), data['longitude'].mean()