Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
{
|
| 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 |
|