Spaces:
Running
Running
Update app.py
Browse files
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(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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")
|