Spaces:
Runtime error
Runtime error
tangtang
commited on
Commit
·
b16f05e
1
Parent(s):
6be9811
Update space1
Browse files- src/populate.py +1 -1
src/populate.py
CHANGED
|
@@ -29,7 +29,7 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
|
|
| 29 |
df = pd.DataFrame.from_records(all_data_json)
|
| 30 |
|
| 31 |
# 排序
|
| 32 |
-
df = df.sort_values(by=["
|
| 33 |
|
| 34 |
# 保留指定列并保留两位小数
|
| 35 |
df = df[cols].round(decimals=2)
|
|
|
|
| 29 |
df = pd.DataFrame.from_records(all_data_json)
|
| 30 |
|
| 31 |
# 排序
|
| 32 |
+
df = df.sort_values(by=["Precision"], ascending=False)
|
| 33 |
|
| 34 |
# 保留指定列并保留两位小数
|
| 35 |
df = df[cols].round(decimals=2)
|