farimafatahi
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -76,6 +76,10 @@ st.markdown(
|
|
76 |
# Display title and description
|
77 |
st.markdown('<div class="container">', unsafe_allow_html=True)
|
78 |
|
|
|
|
|
|
|
|
|
79 |
st.markdown(
|
80 |
f"""
|
81 |
<style>
|
@@ -89,7 +93,7 @@ st.markdown(
|
|
89 |
}}
|
90 |
</style>
|
91 |
<div class="logo-container">
|
92 |
-
<img src="data:image/png;base64,{
|
93 |
</div>
|
94 |
""",
|
95 |
unsafe_allow_html=True
|
|
|
76 |
# Display title and description
|
77 |
st.markdown('<div class="container">', unsafe_allow_html=True)
|
78 |
|
79 |
+
# Convert the image to base64
|
80 |
+
buffered = BytesIO()
|
81 |
+
logo_image.save(buffered, format="PNG")
|
82 |
+
img_data = base64.b64encode(buffered.getvalue()).decode("utf-8")
|
83 |
st.markdown(
|
84 |
f"""
|
85 |
<style>
|
|
|
93 |
}}
|
94 |
</style>
|
95 |
<div class="logo-container">
|
96 |
+
<img src="data:image/png;base64,{img_data}" alt="FactBench Leaderboard Logo">
|
97 |
</div>
|
98 |
""",
|
99 |
unsafe_allow_html=True
|