Uzaiir commited on
Commit
3a742c5
·
verified ·
1 Parent(s): ace8632

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -1
src/streamlit_app.py CHANGED
@@ -74,9 +74,11 @@ if uploaded_file:
74
  <h4 style="margin-bottom:10px;">📖 <strong>Generated Story</strong></h4>
75
  """, unsafe_allow_html=True)
76
 
 
 
77
  st.markdown(f"""
78
  <div style="font-size:16px;line-height:1.6;color:#444;">
79
- {story.replace('\n', '<br>')}
80
  </div>
81
  </div>
82
  """, unsafe_allow_html=True)
 
74
  <h4 style="margin-bottom:10px;">📖 <strong>Generated Story</strong></h4>
75
  """, unsafe_allow_html=True)
76
 
77
+ formatted_story = story.replace('\n', '<br>')
78
+
79
  st.markdown(f"""
80
  <div style="font-size:16px;line-height:1.6;color:#444;">
81
+ {formatted_story}
82
  </div>
83
  </div>
84
  """, unsafe_allow_html=True)