JeCabrera commited on
Commit
fe6c495
verified
1 Parent(s): d8cb2a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -155,12 +155,12 @@ if submit:
155
 
156
  # Formatear la salida usando etiquetas <br> para saltos de l铆nea
157
  bullets_list = generated_bullets.split('\n')
158
- formatted_bullets = '<br>'.join([f'- {bullet}' for bullet in bullets_list if bullet]) # A帽adir un guion para cada bullet
159
 
160
  col2.markdown(f"""
161
  <div style="border: 1px solid #000000; padding: 5px; border-radius: 8px; background-color: #ffffff;">
162
- <h4>Mira los bullets generados:</h4>
163
- <p>{formatted_bullets}</p>
164
  </div>
165
  """, unsafe_allow_html=True)
166
  except Exception as e:
 
155
 
156
  # Formatear la salida usando etiquetas <br> para saltos de l铆nea
157
  bullets_list = generated_bullets.split('\n')
158
+ formatted_bullets = '<br style="line-height: 1.5;">'.join([bullet for bullet in bullets_list if bullet]) # Agregar interlineado
159
 
160
  col2.markdown(f"""
161
  <div style="border: 1px solid #000000; padding: 5px; border-radius: 8px; background-color: #ffffff;">
162
+ <h4>Mira la magia en acci贸n con estos bullets:</h4>
163
+ <p style="line-height: 1.5;">{formatted_bullets}</p>
164
  </div>
165
  """, unsafe_allow_html=True)
166
  except Exception as e: