maria355 commited on
Commit
b820505
·
verified ·
1 Parent(s): 08a7503

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -545,9 +545,10 @@ with output_col1:
545
 
546
  if st.session_state.text_output:
547
  # Display text in a nice container
 
548
  st.markdown(f"""
549
  <div style="background: #f8f9fa; padding: 15px; border-radius: 8px; border-left: 4px solid #007bff;">
550
- {st.session_state.text_output.replace('\n', '<br>')}
551
  </div>
552
  """, unsafe_allow_html=True)
553
 
 
545
 
546
  if st.session_state.text_output:
547
  # Display text in a nice container
548
+ formatted_text = st.session_state.text_output.replace('\n', '<br>')
549
  st.markdown(f"""
550
  <div style="background: #f8f9fa; padding: 15px; border-radius: 8px; border-left: 4px solid #007bff;">
551
+ {formatted_text}
552
  </div>
553
  """, unsafe_allow_html=True)
554