Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,7 +64,7 @@ with col1:
|
|
64 |
# Create tabs instead of nested expanders
|
65 |
tab1, tab2 = st.tabs(["F贸rmula", "脕ngulo"])
|
66 |
|
67 |
-
with
|
68 |
temperature = st.slider("Creatividad", min_value=0.0, max_value=2.0, value=1.0, step=0.1)
|
69 |
selected_formula_key = st.selectbox(
|
70 |
"Selecciona una f贸rmula para tus beneficios",
|
@@ -72,12 +72,18 @@ with col1:
|
|
72 |
)
|
73 |
selected_formula = bullet_formulas[selected_formula_key]
|
74 |
|
75 |
-
|
76 |
selected_angle_key = st.selectbox(
|
77 |
"Selecciona el 谩ngulo para tus beneficios",
|
78 |
options=list(bullet_angles.keys())
|
79 |
)
|
80 |
selected_angle = bullet_angles[selected_angle_key]
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
|
82 |
# Button at the bottom
|
83 |
submit = st.button("Generar Beneficios")
|
|
|
64 |
# Create tabs instead of nested expanders
|
65 |
tab1, tab2 = st.tabs(["F贸rmula", "脕ngulo"])
|
66 |
|
67 |
+
with tab1:
|
68 |
temperature = st.slider("Creatividad", min_value=0.0, max_value=2.0, value=1.0, step=0.1)
|
69 |
selected_formula_key = st.selectbox(
|
70 |
"Selecciona una f贸rmula para tus beneficios",
|
|
|
72 |
)
|
73 |
selected_formula = bullet_formulas[selected_formula_key]
|
74 |
|
75 |
+
with tab2:
|
76 |
selected_angle_key = st.selectbox(
|
77 |
"Selecciona el 谩ngulo para tus beneficios",
|
78 |
options=list(bullet_angles.keys())
|
79 |
)
|
80 |
selected_angle = bullet_angles[selected_angle_key]
|
81 |
+
|
82 |
+
# Show angle details
|
83 |
+
st.markdown(f"""
|
84 |
+
**Style:** {selected_angle['style']}
|
85 |
+
**Keywords:** {', '.join(selected_angle['keywords'])}
|
86 |
+
""")
|
87 |
|
88 |
# Button at the bottom
|
89 |
submit = st.button("Generar Beneficios")
|