drguilhermeapolinario commited on
Commit
63474f8
·
verified ·
1 Parent(s): 064d3d9

Update views/maps.py

Browse files
Files changed (1) hide show
  1. 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.cache_data
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
- st.metric(f"População total: {total_pop:,}")
69
 
70
  add_vertical_space(5)
71
- add_vertical_space(5)
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: