File size: 1,753 Bytes
12498c8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ab36657
12498c8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
import streamlit as st

# --- PAGE SETUP ---
about_page = st.Page(
    page="views/rci.py",
    title="Análise de microárea",
    icon=":material/query_stats:",
    default=True,
)
project_1_page = st.Page(
    page="views/maps.py",
    title="Mapas da área",
    icon=":material/explore:",
)
project_2_page = st.Page(
    page="views/mesames.py",
    title="Crescimento populacional - UBS Flamengo",
    icon=":material/edit_road:",
)
project_3_page = st.Page(
    page="views/rag_med.py",
    title="Encaminhamento Médico",
    icon=":material/edit_road:",
)
project_4_page = st.Page(
    page="views/newchatgroq.py",
    title="ChatBot UBS Flamengo",
    icon=":material/smart_toy:",
)
project_5_page = st.Page(
    page="views/pdf_chat.py",
    title="Converse com seu pdf",
)
project_6_page = st.Page(
    page="views/exame.py",
    title="Extração de resultados",
    icon=":material/edit_road:",
)
project_7_page = st.Page(
    page="views/cad_cid.py",
    title="Atualização de cadastro - UBS Flamengo",
    icon=":material/edit_road:",
)

# --- NAVIGATION SETUP [WITHOUT SECTIONS] ---
# pg = st.navigation(pages=[about_page, project_1_page, project_2_page])


# --- NAVIGATION SETUP [WITH SECTIONS] ---
pg = st.navigation(
    {
        "Relatórios e mapas": [
            about_page,
            project_1_page,
            project_2_page,
        ],
        "Apoio": [
            project_4_page,
            project_3_page,
            project_5_page,
            project_6_page,
            project_7_page,
        ],
    }
)

# --- SHARED ON ALL PAGES ---
st.set_page_config(layout="wide")
#st.logo("src/images/logo.png")
st.sidebar.markdown("###### :blue-background[Dr Guilherme Apolinário]")

# --- RUN NAVIGATION ---
pg.run()