JeCabrera commited on
Commit
2e9ae6a
·
verified ·
1 Parent(s): 2987512

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -3
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
- # Generate button (fuera del desplegable) con cambios solicitados
88
- submit = st.button("Escribir historia", key="generate_button",
89
- style="background-color: #FFCC00; color: white; width: 90%;")
 
 
 
 
 
 
 
 
 
 
 
 
 
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: