Spaces:
Runtime error
Runtime error
Update src/populate.py
Browse files- src/populate.py +4 -1
src/populate.py
CHANGED
|
@@ -18,7 +18,10 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
|
|
| 18 |
#df = df[cols].round(decimals=2)
|
| 19 |
|
| 20 |
# filter out if any of the benchmarks have not been produced
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
| 22 |
return df
|
| 23 |
|
| 24 |
|
|
|
|
| 18 |
#df = df[cols].round(decimals=2)
|
| 19 |
|
| 20 |
# filter out if any of the benchmarks have not been produced
|
| 21 |
+
import os
|
| 22 |
+
print(os.getcwd()) # 获取并打印当前工作目录
|
| 23 |
+
|
| 24 |
+
df = pd.read_csv('model_performance.csv')#df[has_no_nan_values(df, benchmark_cols)]
|
| 25 |
return df
|
| 26 |
|
| 27 |
|