Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ def main():
|
|
11 |
# Display the logo in the first column
|
12 |
with col1:
|
13 |
logo = Image.open("logo.png")
|
14 |
-
resized_logo = logo.resize((
|
15 |
st.image(resized_logo)
|
16 |
|
17 |
# Display the text in the second column, vertically centered, with custom font and size
|
@@ -21,9 +21,9 @@ def main():
|
|
21 |
<div style="
|
22 |
display: flex;
|
23 |
align-items: center;
|
24 |
-
height:
|
25 |
font-family: 'Inter', sans-serif;
|
26 |
-
font-size:
|
27 |
font-weight: bold;">
|
28 |
AI Energy Score
|
29 |
</div>
|
|
|
11 |
# Display the logo in the first column
|
12 |
with col1:
|
13 |
logo = Image.open("logo.png")
|
14 |
+
resized_logo = logo.resize((40, 40)) # Resize the logo to 50x50 pixels
|
15 |
st.image(resized_logo)
|
16 |
|
17 |
# Display the text in the second column, vertically centered, with custom font and size
|
|
|
21 |
<div style="
|
22 |
display: flex;
|
23 |
align-items: center;
|
24 |
+
height: 40px;
|
25 |
font-family: 'Inter', sans-serif;
|
26 |
+
font-size: 28px;
|
27 |
font-weight: bold;">
|
28 |
AI Energy Score
|
29 |
</div>
|