yentinglin commited on
Commit
5de440d
1 Parent(s): 0e1a8de
Files changed (2) hide show
  1. app.py +1 -1
  2. src/populate.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ try:
46
  print(EVAL_RESULTS_PATH)
47
  snapshot_download(
48
  repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30, token=TOKEN,
49
- allow_patterns="results_*.json"
50
  )
51
  except Exception:
52
  restart_space()
 
46
  print(EVAL_RESULTS_PATH)
47
  snapshot_download(
48
  repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30, token=TOKEN,
49
+ allow_patterns="*/results_*.json"
50
  )
51
  except Exception:
52
  restart_space()
src/populate.py CHANGED
@@ -18,7 +18,7 @@ def get_leaderboard_df(results_path: str, requests_path: str, cols: list, benchm
18
  print(df)
19
  print(df.head())
20
  print(df.columns)
21
- # df = df[~df['Model'].str.contains('mnt')]
22
  df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
23
  df = df[cols].round(decimals=2)
24
 
 
18
  print(df)
19
  print(df.head())
20
  print(df.columns)
21
+ df = df[~df['Model'].str.contains('mnt')]
22
  df = df.sort_values(by=[AutoEvalColumn.average.name], ascending=False)
23
  df = df[cols].round(decimals=2)
24