drguilhermeapolinario commited on
Commit
9dd22b3
·
verified ·
1 Parent(s): bf4ee54

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -1,4 +1,12 @@
1
  import streamlit as st
 
 
 
 
 
 
 
 
2
 
3
  # --- PAGE SETUP ---
4
  about_page = st.Page(
 
1
  import streamlit as st
2
+ import toml
3
+ import os
4
+
5
+ # Definir o caminho para o config.toml na pasta .streamlit
6
+ config_path = os.path.join(".streamlit", "config.toml")
7
+
8
+ # Carregar as configurações do config.toml
9
+ config = toml.load(config_path)
10
 
11
  # --- PAGE SETUP ---
12
  about_page = st.Page(