Spaces:
Running
Running
update tab id
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ with gr.Blocks(title="Open Agent Leaderboard", head=head_style) as demo:
|
|
| 34 |
with gr.Tabs(elem_classes='tab-buttons') as tabs:
|
| 35 |
gr.Markdown(LEADERBORAD_INTRODUCTION.format(EVAL_TIME))
|
| 36 |
|
| 37 |
-
with gr.TabItem('🏅 Open Agent Overall Math Leaderboard',
|
| 38 |
gr.Markdown(LEADERBOARD_MD['MATH_MAIN'])
|
| 39 |
check_box = BUILD_L1_DF(results, DEFAULT_MATH_BENCH)
|
| 40 |
table = generate_table(results, DEFAULT_MATH_BENCH)
|
|
@@ -80,7 +80,7 @@ with gr.Blocks(title="Open Agent Leaderboard", head=head_style) as demo:
|
|
| 80 |
)
|
| 81 |
|
| 82 |
# detail math leaderboard
|
| 83 |
-
with gr.TabItem('🏅 Open Agent Detail Math Leaderboard',
|
| 84 |
gr.Markdown(LEADERBOARD_MD['MATH_DETAIL'])
|
| 85 |
struct_detail = load_results(DETAIL_MATH_SCORE_FILE)
|
| 86 |
timestamp = struct_detail['time']
|
|
|
|
| 34 |
with gr.Tabs(elem_classes='tab-buttons') as tabs:
|
| 35 |
gr.Markdown(LEADERBORAD_INTRODUCTION.format(EVAL_TIME))
|
| 36 |
|
| 37 |
+
with gr.TabItem('🏅 Open Agent Overall Math Leaderboard', id='math'):
|
| 38 |
gr.Markdown(LEADERBOARD_MD['MATH_MAIN'])
|
| 39 |
check_box = BUILD_L1_DF(results, DEFAULT_MATH_BENCH)
|
| 40 |
table = generate_table(results, DEFAULT_MATH_BENCH)
|
|
|
|
| 80 |
)
|
| 81 |
|
| 82 |
# detail math leaderboard
|
| 83 |
+
with gr.TabItem('🏅 Open Agent Detail Math Leaderboard', id='math_detail'):
|
| 84 |
gr.Markdown(LEADERBOARD_MD['MATH_DETAIL'])
|
| 85 |
struct_detail = load_results(DETAIL_MATH_SCORE_FILE)
|
| 86 |
timestamp = struct_detail['time']
|