adding sponsorship + submit color
Browse files- .DS_Store +0 -0
- app.py +5 -1
- src/.DS_Store +0 -0
- src/about.py +2 -0
- abl_logo.png → src/images/abl_logo.png +0 -0
- src/images/sponsor-silma.png +0 -0
.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
app.py
CHANGED
@@ -11,6 +11,7 @@ from src.about import (
|
|
11 |
INTRODUCTION_TEXT,
|
12 |
LLM_BENCHMARKS_TEXT,
|
13 |
TITLE,
|
|
|
14 |
)
|
15 |
from src.display.css_html_js import custom_css
|
16 |
from src.display.utils import (
|
@@ -141,7 +142,7 @@ with demo:
|
|
141 |
with gr.Column():
|
142 |
model_name_textbox = gr.Textbox(label="Model name")
|
143 |
|
144 |
-
submit_button = gr.Button("Submit Eval")
|
145 |
submission_result = gr.Markdown()
|
146 |
submit_button.click(
|
147 |
add_new_eval,
|
@@ -160,6 +161,9 @@ with demo:
|
|
160 |
elem_id="citation-button",
|
161 |
show_copy_button=True,
|
162 |
)
|
|
|
|
|
|
|
163 |
|
164 |
scheduler = BackgroundScheduler()
|
165 |
scheduler.add_job(restart_space, "interval", seconds=900)
|
|
|
11 |
INTRODUCTION_TEXT,
|
12 |
LLM_BENCHMARKS_TEXT,
|
13 |
TITLE,
|
14 |
+
FOOTER_TEXT
|
15 |
)
|
16 |
from src.display.css_html_js import custom_css
|
17 |
from src.display.utils import (
|
|
|
142 |
with gr.Column():
|
143 |
model_name_textbox = gr.Textbox(label="Model name")
|
144 |
|
145 |
+
submit_button = gr.Button("Submit Eval", variant="huggingface" )
|
146 |
submission_result = gr.Markdown()
|
147 |
submit_button.click(
|
148 |
add_new_eval,
|
|
|
161 |
elem_id="citation-button",
|
162 |
show_copy_button=True,
|
163 |
)
|
164 |
+
|
165 |
+
with gr.Row():
|
166 |
+
gr.Markdown(FOOTER_TEXT)
|
167 |
|
168 |
scheduler = BackgroundScheduler()
|
169 |
scheduler.add_job(restart_space, "interval", seconds=900)
|
src/.DS_Store
ADDED
Binary file (6.15 kB). View file
|
|
src/about.py
CHANGED
@@ -69,3 +69,5 @@ If everything is done, check you can launch the EleutherAIHarness on your model
|
|
69 |
CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
|
70 |
CITATION_BUTTON_TEXT = r"""
|
71 |
"""
|
|
|
|
|
|
69 |
CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
|
70 |
CITATION_BUTTON_TEXT = r"""
|
71 |
"""
|
72 |
+
|
73 |
+
FOOTER_TEXT = """<img src='https://huggingface.co/spaces/silma-ai/Arabic-LLM-Broad-Leaderboard/resolve/main/src/images/sponsor-silma.png' style='margin:auto;width:80%;display:block'>"""
|
abl_logo.png → src/images/abl_logo.png
RENAMED
File without changes
|
src/images/sponsor-silma.png
ADDED
![]() |