Yuanxh commited on
Commit
fe7ddb9
·
1 Parent(s): 5f689ab

update leaderboard

Browse files
Files changed (2) hide show
  1. app.py +4 -1
  2. file/results.xlsx +0 -0
app.py CHANGED
@@ -50,7 +50,10 @@ def wrap_model(func):
50
 
51
  all_cols = df.columns.tolist()
52
  non_numeric_cols = df.select_dtypes(exclude=[np.number]).columns.tolist()
53
- cols_to_round = [col for col in all_cols if col not in non_numeric_cols and col != "Model"]
 
 
 
54
  df[cols_to_round] = df[cols_to_round].apply(lambda x: np.round(x, 2))
55
  return df
56
 
 
50
 
51
  all_cols = df.columns.tolist()
52
  non_numeric_cols = df.select_dtypes(exclude=[np.number]).columns.tolist()
53
+
54
+ exclude_cols = {"Model", "Access", "Type", "Update Time"}
55
+
56
+ cols_to_round = [col for col in all_cols if col not in exclude_cols and col not in non_numeric_cols]
57
  df[cols_to_round] = df[cols_to_round].apply(lambda x: np.round(x, 2))
58
  return df
59
 
file/results.xlsx CHANGED
Binary files a/file/results.xlsx and b/file/results.xlsx differ