JeCabrera commited on
Commit
a268491
·
verified ·
1 Parent(s): c728a67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -8
app.py CHANGED
@@ -5,6 +5,16 @@ import google.generativeai as genai
5
  import random
6
  from streamlit import session_state as state
7
 
 
 
 
 
 
 
 
 
 
 
8
  # Cargar las variables de entorno
9
  load_dotenv()
10
 
@@ -395,14 +405,6 @@ st.set_page_config(page_title="Enchanted Hooks", layout="wide")
395
  # Configurar el estado inicial del sidebar si no existe
396
  if 'sidebar_state' not in state:
397
  state.sidebar_state = 'collapsed'
398
-
399
- # Configurar la página con el sidebar colapsado
400
- st.set_page_config(
401
- page_title="Tu App",
402
- page_icon="🚀",
403
- layout="wide",
404
- initial_sidebar_state="collapsed"
405
- )
406
 
407
  # Leer el contenido del archivo manual.md
408
  with open("manual.md", "r", encoding="utf-8") as file:
 
5
  import random
6
  from streamlit import session_state as state
7
 
8
+ # Configurar la página con el sidebar colapsado
9
+ st.set_page_config(
10
+ page_title="Tu App",
11
+ page_icon="🚀",
12
+ layout="wide",
13
+ initial_sidebar_state="collapsed"
14
+ )
15
+
16
+ st.markdown("""<style>...""", unsafe_allow_html=True)
17
+
18
  # Cargar las variables de entorno
19
  load_dotenv()
20
 
 
405
  # Configurar el estado inicial del sidebar si no existe
406
  if 'sidebar_state' not in state:
407
  state.sidebar_state = 'collapsed'
 
 
 
 
 
 
 
 
408
 
409
  # Leer el contenido del archivo manual.md
410
  with open("manual.md", "r", encoding="utf-8") as file: