JeCabrera commited on
Commit
82ede88
·
verified ·
1 Parent(s): 5409d15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -102,6 +102,7 @@ with col1:
102
  st.session_state.temperature = temperature
103
  st.session_state.formula_type = formula_type
104
  st.session_state.sophistication_level = sophistication_level
 
105
 
106
  # Keep only the manual input tab
107
  with st.container():
@@ -118,13 +119,20 @@ with col1:
118
  target_audience = st.text_area('👥 Público Objetivo', height=70,
119
  help='Describe tu cliente o público ideal')
120
 
121
- # Add sophistication level selector
122
  sophistication_level = st.selectbox(
123
  '🧠 Nivel de Sofisticación del Mercado',
124
  options=list(sophistication_levels.keys()),
125
  help='Selecciona el nivel de conocimiento que tiene tu público sobre soluciones similares'
126
  )
127
 
 
 
 
 
 
 
 
128
  # Add file/image uploader here
129
  uploaded_file = st.file_uploader("📄 Sube un archivo o imagen",
130
  type=['txt', 'pdf', 'docx', 'jpg', 'jpeg', 'png'])
 
102
  st.session_state.temperature = temperature
103
  st.session_state.formula_type = formula_type
104
  st.session_state.sophistication_level = sophistication_level
105
+ st.session_state.consciousness_level = consciousness_level # New line
106
 
107
  # Keep only the manual input tab
108
  with st.container():
 
119
  target_audience = st.text_area('👥 Público Objetivo', height=70,
120
  help='Describe tu cliente o público ideal')
121
 
122
+ # Existing sophistication selector
123
  sophistication_level = st.selectbox(
124
  '🧠 Nivel de Sofisticación del Mercado',
125
  options=list(sophistication_levels.keys()),
126
  help='Selecciona el nivel de conocimiento que tiene tu público sobre soluciones similares'
127
  )
128
 
129
+ # Add consciousness level selector
130
+ consciousness_level = st.selectbox(
131
+ '👁️ Nivel de Conciencia del Cliente',
132
+ options=[1, 3, 5],
133
+ help='Selecciona qué tan consciente está el cliente de su problema y soluciones existentes (1=Básico, 3=Intermedio, 5=Avanzado)'
134
+ )
135
+
136
  # Add file/image uploader here
137
  uploaded_file = st.file_uploader("📄 Sube un archivo o imagen",
138
  type=['txt', 'pdf', 'docx', 'jpg', 'jpeg', 'png'])