JeCabrera commited on
Commit
aad19ad
·
verified ·
1 Parent(s): ba128d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -9
app.py CHANGED
@@ -205,17 +205,16 @@ with col1:
205
  target_audience = st.text_input("¿Quién es tu público objetivo?", placeholder="Ejemplo: Estudiantes Universitarios")
206
  product = st.text_input("¿Qué producto tienes en mente?", placeholder="Ejemplo: Curso de Inglés")
207
 
 
 
 
 
 
 
 
 
208
  # Crear un único acordeón para fórmula, creatividad y ángulo
209
  with st.expander("Personaliza tus titulares"):
210
- # Moved formula selection above number of headlines
211
- selected_formula_key = st.selectbox(
212
- "Selecciona una fórmula para tus titulares",
213
- options=list(headline_formulas.keys())
214
- )
215
-
216
- # Added number of headlines after formula selection
217
- number_of_headlines = st.selectbox("Número de Titulares", options=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], index=4)
218
-
219
  # New text area for base copy
220
  base_copy = st.text_area(
221
  "Texto base para generar titulares (opcional)",
 
205
  target_audience = st.text_input("¿Quién es tu público objetivo?", placeholder="Ejemplo: Estudiantes Universitarios")
206
  product = st.text_input("¿Qué producto tienes en mente?", placeholder="Ejemplo: Curso de Inglés")
207
 
208
+ # Moved formula selection and number of headlines outside the accordion
209
+ selected_formula_key = st.selectbox(
210
+ "Selecciona una fórmula para tus titulares",
211
+ options=list(headline_formulas.keys())
212
+ )
213
+
214
+ number_of_headlines = st.selectbox("Número de Titulares", options=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], index=4)
215
+
216
  # Crear un único acordeón para fórmula, creatividad y ángulo
217
  with st.expander("Personaliza tus titulares"):
 
 
 
 
 
 
 
 
 
218
  # New text area for base copy
219
  base_copy = st.text_area(
220
  "Texto base para generar titulares (opcional)",