nniehaus commited on
Commit
80defbf
·
verified ·
1 Parent(s): bd97fba

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -309,11 +309,12 @@ if st.session_state.generated_script and not st.session_state.show_form:
309
  st.markdown('<h2 class="section-header">🎬 Your Video Script is Ready!</h2>', unsafe_allow_html=True)
310
 
311
  # Script display
 
312
  st.markdown(f"""
313
  <div class="script-output">
314
  <h3 style="color: #1f4e79; margin-bottom: 1rem;">📜 Your Promotional Video Script</h3>
315
  <div style="font-size: 1.1rem; line-height: 1.6; color: #333;">
316
- {st.session_state.generated_script.replace('\n', '<br>')}
317
  </div>
318
  </div>
319
  """, unsafe_allow_html=True)
 
309
  st.markdown('<h2 class="section-header">🎬 Your Video Script is Ready!</h2>', unsafe_allow_html=True)
310
 
311
  # Script display
312
+ formatted_script = st.session_state.generated_script.replace('\n', '<br>')
313
  st.markdown(f"""
314
  <div class="script-output">
315
  <h3 style="color: #1f4e79; margin-bottom: 1rem;">📜 Your Promotional Video Script</h3>
316
  <div style="font-size: 1.1rem; line-height: 1.6; color: #333;">
317
+ {formatted_script}
318
  </div>
319
  </div>
320
  """, unsafe_allow_html=True)