Spaces:
Runtime error
Runtime error
tangtang
commited on
Commit
·
3e2e58f
1
Parent(s):
94700a0
Update space1
Browse files- src/populate.py +2 -1
src/populate.py
CHANGED
|
@@ -15,7 +15,8 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
|
|
| 15 |
|
| 16 |
df = pd.DataFrame.from_records(all_data_json)
|
| 17 |
print(df.columns)
|
| 18 |
-
df = df.sort_values(by=[
|
|
|
|
| 19 |
|
| 20 |
df = df[cols].round(decimals=2)
|
| 21 |
|
|
|
|
| 15 |
|
| 16 |
df = pd.DataFrame.from_records(all_data_json)
|
| 17 |
print(df.columns)
|
| 18 |
+
df = df.sort_values(by=["Precision (%)"], ascending=False)
|
| 19 |
+
|
| 20 |
|
| 21 |
df = df[cols].round(decimals=2)
|
| 22 |
|