Spaces:
Running
Running
Refactor app.py to include lazy loading for images
Browse files- app.py +9 -9
- src/about.py +10 -1
app.py
CHANGED
@@ -171,15 +171,15 @@ with demo:
|
|
171 |
with gr.TabItem("π Detailed Results", elem_id="llm-benchmark-tab-table", id=2):
|
172 |
init_detailed_results()
|
173 |
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
|
184 |
scheduler = BackgroundScheduler()
|
185 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
|
|
171 |
with gr.TabItem("π Detailed Results", elem_id="llm-benchmark-tab-table", id=2):
|
172 |
init_detailed_results()
|
173 |
|
174 |
+
with gr.Row():
|
175 |
+
with gr.Accordion("π Citation", open=False):
|
176 |
+
citation_button = gr.Textbox(
|
177 |
+
value=CITATION_BUTTON_TEXT,
|
178 |
+
label=CITATION_BUTTON_LABEL,
|
179 |
+
lines=20,
|
180 |
+
elem_id="citation-button",
|
181 |
+
show_copy_button=True,
|
182 |
+
)
|
183 |
|
184 |
scheduler = BackgroundScheduler()
|
185 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
src/about.py
CHANGED
@@ -92,5 +92,14 @@ If everything is done, check you can launch the EleutherAIHarness on your model
|
|
92 |
"""
|
93 |
|
94 |
CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
|
95 |
-
CITATION_BUTTON_TEXT = r"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
"""
|
|
|
92 |
"""
|
93 |
|
94 |
CITATION_BUTTON_LABEL = "Copy the following snippet to cite these results"
|
95 |
+
CITATION_BUTTON_TEXT = r"""\
|
96 |
+
@misc{zhang2024lmmsevalrealitycheckevaluation,
|
97 |
+
title={LMMs-Eval: Reality Check on the Evaluation of Large Multimodal Models},
|
98 |
+
author={Kaichen Zhang and Bo Li and Peiyuan Zhang and Fanyi Pu and Joshua Adrian Cahyono and Kairui Hu and Shuai Liu and Yuanhan Zhang and Jingkang Yang and Chunyuan Li and Ziwei Liu},
|
99 |
+
year={2024},
|
100 |
+
eprint={2407.12772},
|
101 |
+
archivePrefix={arXiv},
|
102 |
+
primaryClass={cs.CL},
|
103 |
+
url={https://arxiv.org/abs/2407.12772},
|
104 |
+
}
|
105 |
"""
|