Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ except Exception:
|
|
52 |
|
53 |
|
54 |
LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
|
55 |
-
_test_data = pd.DataFrame({"Score": [54,46,53], "Name": ["MageBench", "MageBench", "MageBench"], "BaseModel": ["GPT-4o", "GPT-4o", "
|
56 |
"Target-research": ["Model-Eval-Global", "Model-Eval-Online", "Agent-Eval-Prompt"], "Link": ["xxx", "xxx", "xxx"]})
|
57 |
|
58 |
|
@@ -68,8 +68,8 @@ def init_leaderboard(dataframe):
|
|
68 |
return Leaderboard(
|
69 |
value=dataframe, #dataframe,
|
70 |
select_columns=SelectColumns(
|
71 |
-
default_selection=["Score", "Name", "BaseModel", "
|
72 |
-
cant_deselect=["Score", "Name",
|
73 |
label="Select Columns to Display:",
|
74 |
),
|
75 |
search_columns=SearchColumns(primary_column="Name", secondary_columns=["BaseModel", "Target-research"],
|
@@ -78,7 +78,7 @@ def init_leaderboard(dataframe):
|
|
78 |
filter_columns=[
|
79 |
ColumnFilter("Target-research", type="checkboxgroup", label="Comparison settings for target researches (Single Selection)"),
|
80 |
ColumnFilter("BaseModel", type="dropdown", label="Select The base lmm model that fultill the task."),
|
81 |
-
ColumnFilter("Env.", type="
|
82 |
# ColumnFilter(AutoEvalColumn.precision.name, type="checkboxgroup", label="Precision"),
|
83 |
# ColumnFilter(
|
84 |
# AutoEvalColumn.params.name,
|
|
|
52 |
|
53 |
|
54 |
LEADERBOARD_DF = get_leaderboard_df(EVAL_RESULTS_PATH, EVAL_REQUESTS_PATH, COLS, BENCHMARK_COLS)
|
55 |
+
_test_data = pd.DataFrame({"Score": [54,46,53], "Name": ["MageBench", "MageBench", "MageBench"], "BaseModel": ["GPT-4o", "GPT-4o", "LLaMA"], "Env.": ["Sokoban", "Sokoban", "Football"],
|
56 |
"Target-research": ["Model-Eval-Global", "Model-Eval-Online", "Agent-Eval-Prompt"], "Link": ["xxx", "xxx", "xxx"]})
|
57 |
|
58 |
|
|
|
68 |
return Leaderboard(
|
69 |
value=dataframe, #dataframe,
|
70 |
select_columns=SelectColumns(
|
71 |
+
default_selection=["Score", "Name", "BaseModel", "Env.", "Target-research"],
|
72 |
+
cant_deselect=["Score", "Name",],
|
73 |
label="Select Columns to Display:",
|
74 |
),
|
75 |
search_columns=SearchColumns(primary_column="Name", secondary_columns=["BaseModel", "Target-research"],
|
|
|
78 |
filter_columns=[
|
79 |
ColumnFilter("Target-research", type="checkboxgroup", label="Comparison settings for target researches (Single Selection)"),
|
80 |
ColumnFilter("BaseModel", type="dropdown", label="Select The base lmm model that fultill the task."),
|
81 |
+
ColumnFilter("Env.", type="checkboxgroup", label="Environment (Single Selection)"),
|
82 |
# ColumnFilter(AutoEvalColumn.precision.name, type="checkboxgroup", label="Precision"),
|
83 |
# ColumnFilter(
|
84 |
# AutoEvalColumn.params.name,
|