Spaces:
AIR-Bench
/
Running on CPU Upgrade

nan commited on
Commit
34b8881
1 Parent(s): dfb867f

test: minor fix

Browse files
Files changed (1) hide show
  1. src/loaders.py +1 -1
src/loaders.py CHANGED
@@ -81,7 +81,7 @@ def load_leaderboard_datastore(file_path, version) -> LeaderboardDataStore:
81
  return ds
82
 
83
 
84
- def load_eval_results(file_path: str) -> Dict[str, LeaderboardDataStore]:
85
  output = {}
86
  for version in BENCHMARK_VERSION_LIST:
87
  fn = f"{file_path}/{version}"
 
81
  return ds
82
 
83
 
84
+ def load_eval_results(file_path: Union[str, Path]) -> Dict[str, LeaderboardDataStore]:
85
  output = {}
86
  for version in BENCHMARK_VERSION_LIST:
87
  fn = f"{file_path}/{version}"