Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ with col1:
|
|
118 |
submit = st.button("Escribir mi Texto")
|
119 |
|
120 |
# Bot贸n para generar el texto (fuera del acorde贸n)
|
121 |
-
if st.button("Escribir mi Texto"):
|
122 |
if target_audience and product: # Verificar que se haya proporcionado el p煤blico objetivo y el producto
|
123 |
try:
|
124 |
# Obtener la respuesta del modelo
|
|
|
118 |
submit = st.button("Escribir mi Texto")
|
119 |
|
120 |
# Bot贸n para generar el texto (fuera del acorde贸n)
|
121 |
+
if st.button("Escribir mi Texto", key="generate_text_button"):
|
122 |
if target_audience and product: # Verificar que se haya proporcionado el p煤blico objetivo y el producto
|
123 |
try:
|
124 |
# Obtener la respuesta del modelo
|