fschwartzer commited on
Commit
bf69bd0
1 Parent(s): 72d1967

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -254,10 +254,16 @@ if selected_coords == 'Direcionada' and radius_visible:
254
  # Display the map and filtered_data
255
  with st.container():
256
  if selected_coords == 'Direcionada':
 
 
 
257
  st.map(filtered_data, zoom=zoom_level, use_container_width=True)
258
  elif selected_coords == 'Ampla':
 
 
259
  st.map(data, zoom=zoom_level, use_container_width=True)
260
 
 
261
  # Display the predicted V_oferta values if applicable
262
  if 'Predicted_V_oferta' in filtered_data.columns:
263
  st.write("Valores (R$/m²) previstos com algoritmo KNN:")
 
254
  # Display the map and filtered_data
255
  with st.container():
256
  if selected_coords == 'Direcionada':
257
+ st.write("Filtered Data:", filtered_data) # Debug: Print filtered_data
258
+ st.write("Zoom Level:", zoom_level) # Debug: Print zoom_level
259
+ st.write("Custom Coordinates:", custom_lat, custom_lon) # Debug: Print custom coordinates
260
  st.map(filtered_data, zoom=zoom_level, use_container_width=True)
261
  elif selected_coords == 'Ampla':
262
+ st.write("Complete Data:", data) # Debug: Print complete data
263
+ st.write("Zoom Level:", zoom_level) # Debug: Print zoom_level
264
  st.map(data, zoom=zoom_level, use_container_width=True)
265
 
266
+
267
  # Display the predicted V_oferta values if applicable
268
  if 'Predicted_V_oferta' in filtered_data.columns:
269
  st.write("Valores (R$/m²) previstos com algoritmo KNN:")