JeCabrera commited on
Commit
7b176e5
·
verified ·
1 Parent(s): 443cdfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -394,7 +394,14 @@ st.set_page_config(page_title="Enchanted Hooks", layout="wide")
394
 
395
  # Configurar el estado inicial del sidebar si no existe
396
  if 'sidebar_state' not in state:
397
- state.sidebar_state = 'collapsed'
 
 
 
 
 
 
 
398
 
399
  # Leer el contenido del archivo manual.md
400
  with open("manual.md", "r", encoding="utf-8") as file:
 
394
 
395
  # Configurar el estado inicial del sidebar si no existe
396
  if 'sidebar_state' not in state:
397
+
398
+ # Configurar la página con el sidebar colapsado
399
+ st.set_page_config(
400
+ page_title="Tu App",
401
+ page_icon="🚀",
402
+ layout="wide",
403
+ initial_sidebar_state="collapsed"
404
+ )
405
 
406
  # Leer el contenido del archivo manual.md
407
  with open("manual.md", "r", encoding="utf-8") as file: