xeon27
commited on
Commit
·
140abe6
1
Parent(s):
e0778df
Fix bug
Browse files- app.py +1 -1
- src/display/utils.py +1 -1
app.py
CHANGED
@@ -68,7 +68,7 @@ def init_leaderboard(dataframe, benchmark_type):
|
|
68 |
return gr.components.Dataframe(
|
69 |
value=dataframe,
|
70 |
datatype=[c.type for c in AutoEvalColumnSubset],
|
71 |
-
column_widths=[f"{
|
72 |
)
|
73 |
|
74 |
|
|
|
68 |
return gr.components.Dataframe(
|
69 |
value=dataframe,
|
70 |
datatype=[c.type for c in AutoEvalColumnSubset],
|
71 |
+
column_widths=[f"{20*len(c.name)}px" if c.name != "Model" else "250px" for c in AutoEvalColumnSubset],
|
72 |
)
|
73 |
|
74 |
|
src/display/utils.py
CHANGED
@@ -94,5 +94,5 @@ COLS = [c.name for c in fields(AutoEvalColumn) if not c.hidden]
|
|
94 |
EVAL_COLS = [c.name for c in fields(EvalQueueColumn)]
|
95 |
EVAL_TYPES = [c.type for c in fields(EvalQueueColumn)]
|
96 |
|
97 |
-
ST_BENCHMARK_COLS = [t.value.col_name for t in Tasks if t.value.type=="
|
98 |
AGENTIC_BENCHMARK_COLS = [t.value.col_name for t in Tasks if t.value.type=="agentic"]
|
|
|
94 |
EVAL_COLS = [c.name for c in fields(EvalQueueColumn)]
|
95 |
EVAL_TYPES = [c.type for c in fields(EvalQueueColumn)]
|
96 |
|
97 |
+
ST_BENCHMARK_COLS = [t.value.col_name for t in Tasks if t.value.type=="base"]
|
98 |
AGENTIC_BENCHMARK_COLS = [t.value.col_name for t in Tasks if t.value.type=="agentic"]
|