FrancoisHB commited on
Commit
2540ee9
1 Parent(s): c1c37e0

Commit Test SRT

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -28,8 +28,13 @@ st.title("SRT Summarization")
28
  # Logo image URL
29
  logo_url = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ6uQl0omK_PHXBbyaCHdmh3VjCo_Yvgwavmcs5XRF9Rkjx5FpflxyO4yfux6d2ojKsCOA&usqp=CAU" # Replace with your logo image URL
30
 
31
- # Display logo
32
- st.image(logo_url, width=364)
 
 
 
 
 
33
 
34
  # Text area for user to input SRT-formatted text
35
  srt_text_input = st.text_area("Paste SRT-formatted text here:")
 
28
  # Logo image URL
29
  logo_url = "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ6uQl0omK_PHXBbyaCHdmh3VjCo_Yvgwavmcs5XRF9Rkjx5FpflxyO4yfux6d2ojKsCOA&usqp=CAU" # Replace with your logo image URL
30
 
31
+ # Center the logo
32
+ st.markdown(
33
+ f'<div style="display: flex; justify-content: center;">'
34
+ f'<img src="{logo_url}" style="width: 364px;">'
35
+ f'</div>',
36
+ unsafe_allow_html=True
37
+ )
38
 
39
  # Text area for user to input SRT-formatted text
40
  srt_text_input = st.text_area("Paste SRT-formatted text here:")