import streamlit as st import toml import os st.set_page_config(layout="wide", page_icon="šŸ„") # Definir o caminho para o config.toml na pasta .streamlit config_path = os.path.join(".streamlit", "config.toml") # Carregar as configuraƧƵes do config.toml config = toml.load(config_path) # --- 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/rag_med.py", title="Encaminhamento MĆ©dico", icon=":material/edit_road:", ) project_3_page = st.Page( page="views/newchatgroq.py", title="ChatBot UBS Flamengo", icon=":material/smart_toy:", ) project_4_page = st.Page( page="views/pdf_chat.py", title="Utilidades", icon=":material/query_stats:", ) project_5_page = st.Page( page="views/exame.py", title="ExtraĆ§Ć£o de resultados", icon=":material/edit_road:", ) # --- NAVIGATION SETUP [WITHOUT SECTIONS] --- pg = st.navigation(pages=[about_page, project_1_page, project_2_page, project_3_page, project_4_page, project_5_page]) pg.run()