fschwartzer commited on
Commit
d0b80f5
·
1 Parent(s): 8fbfce8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -233,8 +233,8 @@ filtered_data['Predicted_target'] = predicted_target
233
 
234
  # Display the map and filtered_data
235
  with st.container():
236
- st.map(filtered_data, zoom=zoom_level, use_container_width=True)
237
- folium.add_marker(location=[custom_lat, custom_lon], popup="Local pesquisado", icon=folium.Icon(color="blue"))
238
  st.write("Dados:", filtered_data) # Debug: Print filtered_data
239
 
240
  k_threshold = 5
 
233
 
234
  # Display the map and filtered_data
235
  with st.container():
236
+ m = st.map(filtered_data, zoom=zoom_level, use_container_width=True)
237
+ folium.Marker(location=[custom_lat, custom_lon], popup="Local pesquisado", icon=folium.Icon(color="blue")).add_to(m)
238
  st.write("Dados:", filtered_data) # Debug: Print filtered_data
239
 
240
  k_threshold = 5