Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -223,17 +223,17 @@ with col1:
|
|
| 223 |
options=list(headline_formulas.keys())
|
| 224 |
)
|
| 225 |
|
| 226 |
-
#
|
| 227 |
-
number_of_headlines = st.selectbox("Número de Titulares", options=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], index=4)
|
| 228 |
-
|
| 229 |
-
# Angle selection
|
| 230 |
angle_keys = ["NINGUNO"] + sorted([key for key in angles.keys() if key != "NINGUNO"])
|
| 231 |
selected_angle = st.selectbox(
|
| 232 |
"Selecciona el ángulo para tus titulares",
|
| 233 |
options=angle_keys
|
| 234 |
)
|
| 235 |
|
| 236 |
-
#
|
|
|
|
|
|
|
|
|
|
| 237 |
temperature = st.slider("Creatividad", min_value=0.0, max_value=2.0, value=1.0, step=0.1)
|
| 238 |
|
| 239 |
selected_formula = headline_formulas[selected_formula_key]
|
|
|
|
| 223 |
options=list(headline_formulas.keys())
|
| 224 |
)
|
| 225 |
|
| 226 |
+
# Angle selection moved before number of headlines
|
|
|
|
|
|
|
|
|
|
| 227 |
angle_keys = ["NINGUNO"] + sorted([key for key in angles.keys() if key != "NINGUNO"])
|
| 228 |
selected_angle = st.selectbox(
|
| 229 |
"Selecciona el ángulo para tus titulares",
|
| 230 |
options=angle_keys
|
| 231 |
)
|
| 232 |
|
| 233 |
+
# Number of headlines moved after angle selection
|
| 234 |
+
number_of_headlines = st.selectbox("Número de Titulares", options=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], index=4)
|
| 235 |
+
|
| 236 |
+
# Temperature slider remains at the bottom
|
| 237 |
temperature = st.slider("Creatividad", min_value=0.0, max_value=2.0, value=1.0, step=0.1)
|
| 238 |
|
| 239 |
selected_formula = headline_formulas[selected_formula_key]
|