Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,26 @@ st.markdown(
|
|
| 73 |
|
| 74 |
# Display title and description
|
| 75 |
st.markdown('<div class="container">', unsafe_allow_html=True)
|
| 76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
# st.markdown('<div class="title">FactBench Leaderboard</div>',
|
| 78 |
# unsafe_allow_html=True)
|
| 79 |
st.markdown('<div class="description">Benchmark for LM Factuality Evaluation</div>',
|
|
|
|
| 73 |
|
| 74 |
# Display title and description
|
| 75 |
st.markdown('<div class="container">', unsafe_allow_html=True)
|
| 76 |
+
|
| 77 |
+
st.markdown(
|
| 78 |
+
"""
|
| 79 |
+
<style>
|
| 80 |
+
.logo-container {
|
| 81 |
+
display: flex;
|
| 82 |
+
justify-content: flex-start; /* Aligns to the left */
|
| 83 |
+
}
|
| 84 |
+
.logo-container img {
|
| 85 |
+
width: 50%; /* Adjust this to control the width, e.g., 50% of container width */
|
| 86 |
+
max-width: 300px; /* Set a maximum width */
|
| 87 |
+
}
|
| 88 |
+
</style>
|
| 89 |
+
<div class="logo-container">
|
| 90 |
+
<img src="data:image/png;base64,{img_data}" alt="FactBench Leaderboard Logo">
|
| 91 |
+
</div>
|
| 92 |
+
""".format(img_data=st.image(logo_image, output_format="PNG").to_base64()),
|
| 93 |
+
unsafe_allow_html=True
|
| 94 |
+
)
|
| 95 |
+
# st.image(logo_image, wi)
|
| 96 |
# st.markdown('<div class="title">FactBench Leaderboard</div>',
|
| 97 |
# unsafe_allow_html=True)
|
| 98 |
st.markdown('<div class="description">Benchmark for LM Factuality Evaluation</div>',
|