Spaces:
Running
Running
Update views/maps.py
Browse files- views/maps.py +3 -3
views/maps.py
CHANGED
@@ -33,7 +33,7 @@ st.markdown(""" ### :world_map: **UBS Flamengo: (IBGE 2022)** """)
|
|
33 |
add_vertical_space(5)
|
34 |
|
35 |
|
36 |
-
@st.
|
37 |
def load_data():
|
38 |
"""
|
39 |
A function that loads and reads geojson data for UBS Flamengo and converts it to the specified coordinate reference system.
|
@@ -65,10 +65,10 @@ with col3:
|
|
65 |
f"### 👪 População Total: {total_pop:,} habitantes, dados do Censo 2022 IBGE"
|
66 |
)
|
67 |
st.write(f"### 🗺️ Número de Setores Censitários: {len(gdf)}")
|
68 |
-
|
69 |
|
70 |
add_vertical_space(5)
|
71 |
-
|
72 |
|
73 |
col1, col2 = st.columns(2)
|
74 |
with col1:
|
|
|
33 |
add_vertical_space(5)
|
34 |
|
35 |
|
36 |
+
@st.cache_resource
|
37 |
def load_data():
|
38 |
"""
|
39 |
A function that loads and reads geojson data for UBS Flamengo and converts it to the specified coordinate reference system.
|
|
|
65 |
f"### 👪 População Total: {total_pop:,} habitantes, dados do Censo 2022 IBGE"
|
66 |
)
|
67 |
st.write(f"### 🗺️ Número de Setores Censitários: {len(gdf)}")
|
68 |
+
|
69 |
|
70 |
add_vertical_space(5)
|
71 |
+
|
72 |
|
73 |
col1, col2 = st.columns(2)
|
74 |
with col1:
|