Ryan McConville
commited on
Commit
Β·
23f0448
1
Parent(s):
07c76e7
tweak styling on main leaderboard
Browse files
app.py
CHANGED
@@ -161,21 +161,19 @@ demo = gr.Blocks(css=custom_css)
|
|
161 |
with demo:
|
162 |
gr.HTML(f"""
|
163 |
<div style="text-align: center; margin-top: 2em; margin-bottom: 1em;">
|
164 |
-
<img src="data:image/png;base64,{b64_string}" alt="
|
165 |
style="height: 80px; display: block; margin-left: auto; margin-right: auto;" />
|
166 |
|
167 |
<div style="font-size: 2.5em; font-weight: bold; margin-top: 0.4em; color: var(--text-color);">
|
168 |
-
LLM Hallucination Detection
|
169 |
</div>
|
170 |
|
171 |
-
<div style="font-size: 1.5em; margin-top: 0.5em;
|
172 |
Evaluating factual accuracy and faithfulness of LLMs in both RAG and real-world knowledge settings with
|
173 |
-
<a href="https://platform.kluster.ai/verify" target="_blank"
|
174 |
-
style="color: var(--link-color); text-decoration: none;">
|
175 |
Verify
|
176 |
</a> by
|
177 |
-
<a href="https://platform.kluster.ai/" target="_blank"
|
178 |
-
style="color: var(--link-color); text-decoration: none;">
|
179 |
kluster.ai
|
180 |
</a>
|
181 |
</div>
|
@@ -211,10 +209,10 @@ with demo:
|
|
211 |
# ---------- Leaderboard ----------
|
212 |
leaderboard = init_leaderboard(LEADERBOARD_DF)
|
213 |
|
214 |
-
with gr.TabItem("π
|
215 |
gr.Markdown((Path(__file__).parent / "docs.md").read_text())
|
216 |
|
217 |
-
with gr.TabItem("π Submit
|
218 |
gr.Markdown((Path(__file__).parent / "submit.md").read_text())
|
219 |
|
220 |
# with gr.Column():
|
|
|
161 |
with demo:
|
162 |
gr.HTML(f"""
|
163 |
<div style="text-align: center; margin-top: 2em; margin-bottom: 1em;">
|
164 |
+
<img src="data:image/png;base64,{b64_string}" alt="kluster.ai logo"
|
165 |
style="height: 80px; display: block; margin-left: auto; margin-right: auto;" />
|
166 |
|
167 |
<div style="font-size: 2.5em; font-weight: bold; margin-top: 0.4em; color: var(--text-color);">
|
168 |
+
LLM Hallucination Detection Leaderboard
|
169 |
</div>
|
170 |
|
171 |
+
<div style="font-size: 1.5em; margin-top: 0.5em;">
|
172 |
Evaluating factual accuracy and faithfulness of LLMs in both RAG and real-world knowledge settings with
|
173 |
+
<a href="https://platform.kluster.ai/verify" target="_blank">
|
|
|
174 |
Verify
|
175 |
</a> by
|
176 |
+
<a href="https://platform.kluster.ai/" target="_blank">
|
|
|
177 |
kluster.ai
|
178 |
</a>
|
179 |
</div>
|
|
|
209 |
# ---------- Leaderboard ----------
|
210 |
leaderboard = init_leaderboard(LEADERBOARD_DF)
|
211 |
|
212 |
+
with gr.TabItem("π Details", elem_id="llm-benchmark-tab-table", id=2):
|
213 |
gr.Markdown((Path(__file__).parent / "docs.md").read_text())
|
214 |
|
215 |
+
with gr.TabItem("π Submit Here! ", elem_id="llm-benchmark-tab-table", id=3):
|
216 |
gr.Markdown((Path(__file__).parent / "submit.md").read_text())
|
217 |
|
218 |
# with gr.Column():
|