Spaces:
Sleeping
Sleeping
Upload 11 files
Browse files
app.py
CHANGED
@@ -84,6 +84,9 @@ with col1:
|
|
84 |
ad_product = st.text_input("驴Qu茅 producto tienes en mente?", placeholder="Ejemplo: Curso de gesti贸n del tiempo")
|
85 |
input_prompt = st.text_area("Escribe de qu茅 quieres que trate la historia:", placeholder="Escribe aqu铆 tu idea...")
|
86 |
|
|
|
|
|
|
|
87 |
with st.expander("Opciones avanzadas"):
|
88 |
# Selector de f贸rmula de anuncio
|
89 |
ad_formula_key = st.selectbox(
|
@@ -130,8 +133,6 @@ with col1:
|
|
130 |
label_visibility="visible"
|
131 |
)
|
132 |
|
133 |
-
submit_ad = st.button("GENERAR ANUNCIO")
|
134 |
-
|
135 |
# Mostrar el anuncio generado
|
136 |
if submit_ad:
|
137 |
if ad_target_audience and ad_product:
|
|
|
84 |
ad_product = st.text_input("驴Qu茅 producto tienes en mente?", placeholder="Ejemplo: Curso de gesti贸n del tiempo")
|
85 |
input_prompt = st.text_area("Escribe de qu茅 quieres que trate la historia:", placeholder="Escribe aqu铆 tu idea...")
|
86 |
|
87 |
+
# Mover el bot贸n aqu铆, antes de las opciones avanzadas
|
88 |
+
submit_ad = st.button("GENERAR ANUNCIO")
|
89 |
+
|
90 |
with st.expander("Opciones avanzadas"):
|
91 |
# Selector de f贸rmula de anuncio
|
92 |
ad_formula_key = st.selectbox(
|
|
|
133 |
label_visibility="visible"
|
134 |
)
|
135 |
|
|
|
|
|
136 |
# Mostrar el anuncio generado
|
137 |
if submit_ad:
|
138 |
if ad_target_audience and ad_product:
|
style.py
CHANGED
@@ -11,15 +11,18 @@ styles = {
|
|
11 |
.stButton > button {
|
12 |
width: 100%;
|
13 |
margin-top: 1rem;
|
14 |
-
background
|
15 |
color: black;
|
16 |
font-weight: bold;
|
17 |
border: none;
|
|
|
18 |
}
|
19 |
.stButton > button:hover {
|
20 |
-
background
|
21 |
color: black;
|
22 |
border: none;
|
|
|
|
|
23 |
}
|
24 |
</style>
|
25 |
""",
|
|
|
11 |
.stButton > button {
|
12 |
width: 100%;
|
13 |
margin-top: 1rem;
|
14 |
+
background: linear-gradient(to right, #FFD700, #FFA500);
|
15 |
color: black;
|
16 |
font-weight: bold;
|
17 |
border: none;
|
18 |
+
transition: all 0.3s ease;
|
19 |
}
|
20 |
.stButton > button:hover {
|
21 |
+
background: linear-gradient(to right, #FFC800, #FF8C00);
|
22 |
color: black;
|
23 |
border: none;
|
24 |
+
transform: translateY(-2px);
|
25 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
26 |
}
|
27 |
</style>
|
28 |
""",
|