FrancoisHB commited on
Commit
cc5b5b5
1 Parent(s): ed53f2f

Commit Test SRT

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