Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
0f74558
1
Parent(s):
d669f57
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ with st.sidebar:
|
|
24 |
custom_lat = st.number_input('Enter Latitude', value=0.0)
|
25 |
custom_lon = st.number_input('Enter Longitude', value=0.0)
|
26 |
else:
|
27 |
-
custom_lat, custom_lon =
|
28 |
|
29 |
# Slider for setting the zoom level
|
30 |
zoom_level = st.slider('Nível de zoom', min_value=1, max_value=15, value=5)
|
|
|
24 |
custom_lat = st.number_input('Enter Latitude', value=0.0)
|
25 |
custom_lon = st.number_input('Enter Longitude', value=0.0)
|
26 |
else:
|
27 |
+
custom_lat, custom_lon = data['latitude'].mean(), data['longitude'].mean()
|
28 |
|
29 |
# Slider for setting the zoom level
|
30 |
zoom_level = st.slider('Nível de zoom', min_value=1, max_value=15, value=5)
|