Spaces:
Running
Running
Tweak change log style
Browse files- app.py +10 -5
- content.py +1 -3
app.py
CHANGED
@@ -303,8 +303,13 @@ def refresh():
|
|
303 |
get_leaderboard(), get_eval_table()
|
304 |
return leaderboard, finished_eval_queue, running_eval_queue, pending_eval_queue
|
305 |
|
|
|
|
|
|
|
|
|
|
|
306 |
|
307 |
-
block = gr.Blocks()
|
308 |
with block:
|
309 |
with gr.Row():
|
310 |
gr.Markdown(
|
@@ -322,6 +327,9 @@ We chose these benchmarks as they test a variety of reasoning and general knowle
|
|
322 |
"""
|
323 |
)
|
324 |
|
|
|
|
|
|
|
325 |
with gr.Row():
|
326 |
leaderboard_table = gr.components.Dataframe(
|
327 |
value=leaderboard, headers=COLS, datatype=TYPES, max_rows=5
|
@@ -404,10 +412,7 @@ We chose these benchmarks as they test a variety of reasoning and general knowle
|
|
404 |
],
|
405 |
submission_result,
|
406 |
)
|
407 |
-
|
408 |
-
with gr.Row():
|
409 |
-
changelog = gr.Markdown(CHANGELOG_TEXT)
|
410 |
-
|
411 |
|
412 |
|
413 |
|
|
|
303 |
get_leaderboard(), get_eval_table()
|
304 |
return leaderboard, finished_eval_queue, running_eval_queue, pending_eval_queue
|
305 |
|
306 |
+
custom_css = """
|
307 |
+
#changelog-text {
|
308 |
+
font-size: 18px !important;
|
309 |
+
}
|
310 |
+
"""
|
311 |
|
312 |
+
block = gr.Blocks(css=custom_css)
|
313 |
with block:
|
314 |
with gr.Row():
|
315 |
gr.Markdown(
|
|
|
327 |
"""
|
328 |
)
|
329 |
|
330 |
+
with gr.Accordion("CHANGELOG", open=False):
|
331 |
+
changelog = gr.Markdown(CHANGELOG_TEXT,elem_id="changelog-text")
|
332 |
+
|
333 |
with gr.Row():
|
334 |
leaderboard_table = gr.components.Dataframe(
|
335 |
value=leaderboard, headers=COLS, datatype=TYPES, max_rows=5
|
|
|
412 |
],
|
413 |
submission_result,
|
414 |
)
|
415 |
+
|
|
|
|
|
|
|
416 |
|
417 |
|
418 |
|
content.py
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
CHANGELOG_TEXT = f"""
|
2 |
-
# Changelog
|
3 |
-
|
4 |
## [2023-05-24]
|
5 |
-
- Add a baseline
|
6 |
|
7 |
## [2023-05-23]
|
8 |
- Fixed a CSS issue that made the leaderboard hard to read in dark mode.
|
|
|
1 |
CHANGELOG_TEXT = f"""
|
|
|
|
|
2 |
## [2023-05-24]
|
3 |
+
- Add a baseline that has 25.0 for all values.
|
4 |
|
5 |
## [2023-05-23]
|
6 |
- Fixed a CSS issue that made the leaderboard hard to read in dark mode.
|