Update app.py
Browse files
app.py
CHANGED
@@ -79,9 +79,9 @@ st.markdown(
|
|
79 |
st.markdown('<div class="container">', unsafe_allow_html=True)
|
80 |
|
81 |
# Convert the image to base64
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
st.markdown(
|
86 |
f"""
|
87 |
<style>
|
@@ -96,7 +96,7 @@ st.markdown(
|
|
96 |
}}
|
97 |
</style>
|
98 |
<div class="logo-container">
|
99 |
-
<img src="data:image/png,{
|
100 |
</div>
|
101 |
""",
|
102 |
unsafe_allow_html=True
|
|
|
79 |
st.markdown('<div class="container">', unsafe_allow_html=True)
|
80 |
|
81 |
# Convert the image to base64
|
82 |
+
buffered = BytesIO()
|
83 |
+
logo_image.save(buffered, format="PNG")
|
84 |
+
img_data = base64.b64encode(buffered.getvalue()).decode("utf-8")
|
85 |
st.markdown(
|
86 |
f"""
|
87 |
<style>
|
|
|
96 |
}}
|
97 |
</style>
|
98 |
<div class="logo-container">
|
99 |
+
<img src="data:image/png,{img_data}" alt="FactBench Leaderboard Logo">
|
100 |
</div>
|
101 |
""",
|
102 |
unsafe_allow_html=True
|