Add credit link to Open Italian LLM Leaderboard
Browse files
app.py
CHANGED
|
@@ -147,7 +147,23 @@ finished_eval_queue_df, running_eval_queue_df, pending_eval_queue_df = get_evalu
|
|
| 147 |
# Prepare the main interface
|
| 148 |
demo = gr.Blocks(css=custom_css)
|
| 149 |
with demo:
|
| 150 |
-
gr.HTML(TITLE)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 151 |
gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
|
| 152 |
|
| 153 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
|
@@ -209,6 +225,14 @@ with demo:
|
|
| 209 |
with gr.Accordion("📙 Citation", open=False):
|
| 210 |
gr.Textbox(value=CITATION_BUTTON_TEXT, label=CITATION_BUTTON_LABEL, lines=20, elem_id="citation-button", show_copy_button=True)
|
| 211 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 212 |
# Background job to restart space
|
| 213 |
scheduler = BackgroundScheduler()
|
| 214 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
|
|
|
| 147 |
# Prepare the main interface
|
| 148 |
demo = gr.Blocks(css=custom_css)
|
| 149 |
with demo:
|
| 150 |
+
#gr.HTML(TITLE)
|
| 151 |
+
gr.HTML(
|
| 152 |
+
"""
|
| 153 |
+
<div style="display: flex; align-items: center; position: relative; width: 100%; height: 50px;">
|
| 154 |
+
<h1 style="margin: 0 auto; font-weight: 700;">EVALITA-LLM Leaderboard</h1>
|
| 155 |
+
<a href="https://huggingface.co/spaces/mii-llm/open_ita_llm_leaderboard" target="_blank"
|
| 156 |
+
style="position: absolute; right: 0; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: #1f77b4;">
|
| 157 |
+
<!-- Icona stilizzata -->
|
| 158 |
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="#1f77b4" viewBox="0 0 24 24">
|
| 159 |
+
<path d="M3.9 12a5 5 0 0 1 7.07-7.07l1.41 1.41-1.41 1.41-1.42-1.42a3 3 0 1 0 4.24 4.24l3.54-3.54a5 5 0 0 1-7.07 7.07l-1.41-1.41 1.41-1.41 1.42 1.42z"/>
|
| 160 |
+
<path d="M20.1 12a5 5 0 0 1-7.07 7.07l-1.41-1.41 1.41-1.41 1.42 1.42a3 3 0 1 0-4.24-4.24l-3.54 3.54a5 5 0 0 1 7.07-7.07l1.41 1.41-1.41 1.41-1.42-1.42z"/>
|
| 161 |
+
</svg>
|
| 162 |
+
Open Italian LLM Leaderboard
|
| 163 |
+
</a>
|
| 164 |
+
</div>
|
| 165 |
+
"""
|
| 166 |
+
)
|
| 167 |
gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
|
| 168 |
|
| 169 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
|
|
|
| 225 |
with gr.Accordion("📙 Citation", open=False):
|
| 226 |
gr.Textbox(value=CITATION_BUTTON_TEXT, label=CITATION_BUTTON_LABEL, lines=20, elem_id="citation-button", show_copy_button=True)
|
| 227 |
|
| 228 |
+
with gr.Accordion("📙 Credits", open=False):
|
| 229 |
+
gr.Markdown(
|
| 230 |
+
"""
|
| 231 |
+
The code powering this leaderboard is an extension of the code from the original Open Italian LLM Leaderboard ([https://huggingface.co/spaces/mii-llm/open_ita_llm_leaderboard](https://huggingface.co/spaces/mii-llm/open_ita_llm_leaderboard)), developed by Alessandro Ercolani and Samuele Colombo.
|
| 232 |
+
We warmly thank them for their invaluable support and guidance in implementing this leaderboard.
|
| 233 |
+
"""
|
| 234 |
+
)
|
| 235 |
+
|
| 236 |
# Background job to restart space
|
| 237 |
scheduler = BackgroundScheduler()
|
| 238 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|