Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
de141c7
1
Parent(s):
9afa68f
Update app.py
Browse files
app.py
CHANGED
@@ -74,9 +74,9 @@ for index, row in data.iterrows():
|
|
74 |
zoom_level = round(17 - np.log10(max_distance))
|
75 |
|
76 |
title_html = """
|
77 |
-
<span style='color: gray; font-size:
|
78 |
-
<span style='color: white; font-size:
|
79 |
-
<span style='color: gray; font-size:
|
80 |
"""
|
81 |
|
82 |
# Create a sidebar for controls
|
@@ -126,6 +126,11 @@ with st.sidebar:
|
|
126 |
if radius_visible:
|
127 |
radius_in_meters = st.slider('Selecione raio (em metros)', min_value=100, max_value=5000, value=1000)
|
128 |
|
|
|
|
|
|
|
|
|
|
|
129 |
# Filter data based on the radius
|
130 |
if selected_coords == 'Direcionada':
|
131 |
filtered_data = data[data.apply(lambda x: calculate_distance(x['latitude'], x['longitude'], custom_lat, custom_lon), axis=1) <= radius_in_meters]
|
|
|
74 |
zoom_level = round(17 - np.log10(max_distance))
|
75 |
|
76 |
title_html = """
|
77 |
+
<span style='color: gray; font-size: 50px;'>aval</span>
|
78 |
+
<span style='color: white; font-size: 50px;'>ia</span>
|
79 |
+
<span style='color: gray; font-size: 50px;'>.NEXUS</span>
|
80 |
"""
|
81 |
|
82 |
# Create a sidebar for controls
|
|
|
126 |
if radius_visible:
|
127 |
radius_in_meters = st.slider('Selecione raio (em metros)', min_value=100, max_value=5000, value=1000)
|
128 |
|
129 |
+
# Links to other apps at the bottom of the sidebar
|
130 |
+
st.sidebar.markdown("[avalia.FACTOR](https://huggingface.co/spaces/DavidSB/avaliaFACTOR)")
|
131 |
+
st.sidebar.markdown("[avalia.EVO](https://huggingface.co/spaces/DavidSB/avalia.EVO)")
|
132 |
+
|
133 |
+
|
134 |
# Filter data based on the radius
|
135 |
if selected_coords == 'Direcionada':
|
136 |
filtered_data = data[data.apply(lambda x: calculate_distance(x['latitude'], x['longitude'], custom_lat, custom_lon), axis=1) <= radius_in_meters]
|