Spaces:
Running
Running
Commit
Β·
29307cd
1
Parent(s):
7b3f1e6
fix
Browse files- src/control_panel.py +1 -1
src/control_panel.py
CHANGED
@@ -201,10 +201,10 @@ def create_control_callback(
|
|
201 |
def select_fn(machine, columns, search):
|
202 |
raw_df = get_llm_perf_df(machine=machine)
|
203 |
selected_leaderboard_df = get_leaderboard_df(raw_df)
|
204 |
-
selected_leaderboard_df = selected_leaderboard_df[columns]
|
205 |
selected_leaderboard_df = selected_leaderboard_df[
|
206 |
selected_leaderboard_df["Model π€"].str.contains(search, case=False)
|
207 |
]
|
|
|
208 |
|
209 |
return selected_leaderboard_df
|
210 |
|
|
|
201 |
def select_fn(machine, columns, search):
|
202 |
raw_df = get_llm_perf_df(machine=machine)
|
203 |
selected_leaderboard_df = get_leaderboard_df(raw_df)
|
|
|
204 |
selected_leaderboard_df = selected_leaderboard_df[
|
205 |
selected_leaderboard_df["Model π€"].str.contains(search, case=False)
|
206 |
]
|
207 |
+
selected_leaderboard_df = selected_leaderboard_df[columns]
|
208 |
|
209 |
return selected_leaderboard_df
|
210 |
|