JeCabrera commited on
Commit
230c394
verified
1 Parent(s): 90336f8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -22,7 +22,9 @@ if 'habilidades' not in st.session_state:
22
  if 'creatividad' not in st.session_state:
23
  st.session_state.creatividad = 1.0
24
  if 'nivel_conciencia' not in st.session_state:
25
- st.session_state.nivel_conciencia = "Ninguno"
 
 
26
 
27
  # Funci贸n para generar el perfil de cliente ideal
28
  @st.cache_resource
 
22
  if 'creatividad' not in st.session_state:
23
  st.session_state.creatividad = 1.0
24
  if 'nivel_conciencia' not in st.session_state:
25
+ # Usar el primer nivel del diccionario como valor predeterminado
26
+ first_key = list(CONSCIOUSNESS_LEVELS.keys())[0]
27
+ st.session_state.nivel_conciencia = first_key.replace("_", " ")
28
 
29
  # Funci贸n para generar el perfil de cliente ideal
30
  @st.cache_resource