Spaces:
AIR-Bench
/
Running on CPU Upgrade

hanhainebula commited on
Commit
cf2d912
1 Parent(s): 05cd94e

Fix check when loading results file

Browse files
Files changed (1) hide show
  1. src/read_evals.py +1 -1
src/read_evals.py CHANGED
@@ -153,7 +153,7 @@ def get_raw_eval_results(results_path: str) -> List[FullEvalResult]:
153
 
154
  # select the latest results
155
  for file in files:
156
- if not (file.startswith("results_") and file.endswith(".json")):
157
  print(f'skip {file}')
158
  continue
159
  model_result_filepaths.append(os.path.join(root, file))
 
153
 
154
  # select the latest results
155
  for file in files:
156
+ if not (file.startswith("results") and file.endswith(".json")):
157
  print(f'skip {file}')
158
  continue
159
  model_result_filepaths.append(os.path.join(root, file))