Spaces:
Running
Running
add requirements.txt;
Browse files- app.py +17 -4
- requirements.txt +3 -0
app.py
CHANGED
@@ -15,6 +15,20 @@ head_style = """
|
|
15 |
min-width: var(--size-full) !important;
|
16 |
}
|
17 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
</style>
|
19 |
"""
|
20 |
|
@@ -31,10 +45,10 @@ with gr.Blocks(title="Open Agent Leaderboard", head=head_style) as demo:
|
|
31 |
|
32 |
|
33 |
|
34 |
-
with gr.Tabs(
|
35 |
gr.Markdown(LEADERBORAD_INTRODUCTION.format(EVAL_TIME))
|
36 |
|
37 |
-
with gr.
|
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)
|
@@ -79,8 +93,7 @@ with gr.Blocks(title="Open Agent Leaderboard", head=head_style) as demo:
|
|
79 |
outputs=data_component
|
80 |
)
|
81 |
|
82 |
-
|
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']
|
|
|
15 |
min-width: var(--size-full) !important;
|
16 |
}
|
17 |
}
|
18 |
+
|
19 |
+
/* ζ·»ε ε€ιζ‘ζ ·εΌ */
|
20 |
+
.gr-checkbox {
|
21 |
+
accent-color: rgb(59, 130, 246) !important; /* θθ² */
|
22 |
+
}
|
23 |
+
|
24 |
+
.gr-checkbox-group label input[type="checkbox"] {
|
25 |
+
accent-color: rgb(59, 130, 246) !important;
|
26 |
+
}
|
27 |
+
|
28 |
+
.gr-checkbox-group input[type="checkbox"]:checked {
|
29 |
+
background-color: rgb(59, 130, 246) !important;
|
30 |
+
border-color: rgb(59, 130, 246) !important;
|
31 |
+
}
|
32 |
</style>
|
33 |
"""
|
34 |
|
|
|
45 |
|
46 |
|
47 |
|
48 |
+
with gr.Tabs() as tabs:
|
49 |
gr.Markdown(LEADERBORAD_INTRODUCTION.format(EVAL_TIME))
|
50 |
|
51 |
+
with gr.Tab(label='π
Open Agent Overall Math Leaderboard'):
|
52 |
gr.Markdown(LEADERBOARD_MD['MATH_MAIN'])
|
53 |
check_box = BUILD_L1_DF(results, DEFAULT_MATH_BENCH)
|
54 |
table = generate_table(results, DEFAULT_MATH_BENCH)
|
|
|
93 |
outputs=data_component
|
94 |
)
|
95 |
|
96 |
+
with gr.Tab(label='π
Open Agent Detail Math Leaderboard'):
|
|
|
97 |
gr.Markdown(LEADERBOARD_MD['MATH_DETAIL'])
|
98 |
struct_detail = load_results(DETAIL_MATH_SCORE_FILE)
|
99 |
timestamp = struct_detail['time']
|
requirements.txt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
gradio==3.50.2
|
2 |
+
numpy>=1.23.4
|
3 |
+
pandas>=1.5.3
|