JeCabrera commited on
Commit
719efa3
·
verified ·
1 Parent(s): 0cbc96b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -263,15 +263,18 @@ if submit:
263
  selected_angle
264
  )
265
 
 
 
266
  col2.markdown(
267
  f"""
268
  <div class="results-container">
269
  <h4>Observa la magia en acción:</h4>
270
- <p>{generated_headlines}</p>
271
  </div>
272
  """,
273
  unsafe_allow_html=True
274
  )
 
275
  except Exception as e:
276
  col2.error(f"Error: {str(e)}")
277
  else:
 
263
  selected_angle
264
  )
265
 
266
+ formatted_headlines = generated_headlines.replace("\n", "<br>")
267
+
268
  col2.markdown(
269
  f"""
270
  <div class="results-container">
271
  <h4>Observa la magia en acción:</h4>
272
+ <div>{formatted_headlines}</div>
273
  </div>
274
  """,
275
  unsafe_allow_html=True
276
  )
277
+
278
  except Exception as e:
279
  col2.error(f"Error: {str(e)}")
280
  else: