JeCabrera commited on
Commit
7106381
verified
1 Parent(s): b7f27a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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