bgamazay commited on
Commit
d396a64
·
verified ·
1 Parent(s): 6f31e73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -14,9 +14,16 @@ def main():
14
  resized_logo = logo.resize((50, 50)) # Resize the logo to 50x50 pixels
15
  st.image(resized_logo)
16
 
17
- # Display the text in the second column
18
  with col2:
19
- st.markdown("<h2 style='margin-top: 10px;'>AI Energy Score</h2>", unsafe_allow_html=True)
 
 
 
 
 
 
 
20
 
21
  # Sidebar instructions and link
22
  st.sidebar.title("Label Generator")
 
14
  resized_logo = logo.resize((50, 50)) # Resize the logo to 50x50 pixels
15
  st.image(resized_logo)
16
 
17
+ # Display the text in the second column, vertically centered
18
  with col2:
19
+ st.markdown(
20
+ """
21
+ <div style="display: flex; align-items: center; height: 50px;">
22
+ <h1 style="margin: 0;">AI Energy Score</h1>
23
+ </div>
24
+ """,
25
+ unsafe_allow_html=True,
26
+ )
27
 
28
  # Sidebar instructions and link
29
  st.sidebar.title("Label Generator")