Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -84,9 +84,22 @@ with col1:
|
|
84 |
language = st.selectbox("Idioma del texto:", ["Inglés", "Español"])
|
85 |
mood = st.selectbox("Estado de ánimo:", ["Emocional", "Triste", "Feliz", "Horror", "Comedia", "Romántico"])
|
86 |
|
87 |
-
#
|
88 |
-
|
89 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
|
91 |
# Display uploaded image
|
92 |
if uploaded_file is not None:
|
|
|
84 |
language = st.selectbox("Idioma del texto:", ["Inglés", "Español"])
|
85 |
mood = st.selectbox("Estado de ánimo:", ["Emocional", "Triste", "Feliz", "Horror", "Comedia", "Romántico"])
|
86 |
|
87 |
+
# Botón "Escribir historia" con estilo CSS
|
88 |
+
st.markdown("""
|
89 |
+
<style>
|
90 |
+
.big-button {
|
91 |
+
background-color: #FFCC00; /* Color llamativo */
|
92 |
+
color: white;
|
93 |
+
width: 90%;
|
94 |
+
height: 50px; /* Altura del botón */
|
95 |
+
font-size: 20px; /* Tamaño de fuente */
|
96 |
+
border: none;
|
97 |
+
border-radius: 5px; /* Bordes redondeados */
|
98 |
+
cursor: pointer;
|
99 |
+
}
|
100 |
+
</style>
|
101 |
+
""", unsafe_allow_html=True)
|
102 |
+
submit = st.button("Escribir historia", key="generate_button", css_class="big-button")
|
103 |
|
104 |
# Display uploaded image
|
105 |
if uploaded_file is not None:
|