Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -643,29 +643,29 @@ with col1:
|
|
643 |
product = st.text_input("¿Qué producto tienes en mente?", placeholder="Ejemplo: Curso de Inglés")
|
644 |
number_of_headlines = st.selectbox("Número de Titulares", options=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], index=4)
|
645 |
|
646 |
-
# Crear un único acordeón para fórmula y
|
647 |
with st.expander("Personaliza tus titulares"):
|
648 |
temperature = st.slider("Creatividad", min_value=0.0, max_value=2.0, value=1.0, step=0.1)
|
649 |
-
|
650 |
-
selected_formula_key = st.selectbox(
|
651 |
-
"Selecciona una fórmula para tus titulares",
|
652 |
-
options=list(headline_formulas.keys())
|
653 |
-
)
|
654 |
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
"
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
|
|
|
|
|
|
|
|
|
|
669 |
|
670 |
selected_formula = headline_formulas[selected_formula_key]
|
671 |
|
|
|
643 |
product = st.text_input("¿Qué producto tienes en mente?", placeholder="Ejemplo: Curso de Inglés")
|
644 |
number_of_headlines = st.selectbox("Número de Titulares", options=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], index=4)
|
645 |
|
646 |
+
# Crear un único acordeón para fórmula, creatividad y ángulo
|
647 |
with st.expander("Personaliza tus titulares"):
|
648 |
temperature = st.slider("Creatividad", min_value=0.0, max_value=2.0, value=1.0, step=0.1)
|
|
|
|
|
|
|
|
|
|
|
649 |
|
650 |
+
selected_formula_key = st.selectbox(
|
651 |
+
"Selecciona una fórmula para tus titulares",
|
652 |
+
options=list(headline_formulas.keys())
|
653 |
+
)
|
654 |
+
|
655 |
+
# Mover el selector de ángulo dentro del expander
|
656 |
+
selected_angle = st.selectbox(
|
657 |
+
"Selecciona el ángulo para tus titulares",
|
658 |
+
options=[
|
659 |
+
"AUTORIDAD",
|
660 |
+
"CURIOSIDAD",
|
661 |
+
"ADVERTENCIA",
|
662 |
+
"EMOCIONAL",
|
663 |
+
"SENSACIONALISTA",
|
664 |
+
"CONTRASTE",
|
665 |
+
"PREGUNTA",
|
666 |
+
"MEZCLA"
|
667 |
+
]
|
668 |
+
)
|
669 |
|
670 |
selected_formula = headline_formulas[selected_formula_key]
|
671 |
|