Spaces:
AIR-Bench
/
Running on CPU Upgrade

nan commited on
Commit
3257e92
1 Parent(s): 0fdaa88

chore: clean up

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -22,14 +22,14 @@ def restart_space():
22
 
23
 
24
 
25
- # try:
26
- # snapshot_download(
27
- # repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30,
28
- # token=TOKEN
29
- # )
30
- # except Exception as e:
31
- # print(f'failed to download')
32
- # restart_space()
33
 
34
  raw_data = get_raw_eval_results(f"{EVAL_RESULTS_PATH}/AIR-Bench_24.04")
35
 
 
22
 
23
 
24
 
25
+ try:
26
+ snapshot_download(
27
+ repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30,
28
+ token=TOKEN
29
+ )
30
+ except Exception as e:
31
+ print(f'failed to download')
32
+ restart_space()
33
 
34
  raw_data = get_raw_eval_results(f"{EVAL_RESULTS_PATH}/AIR-Bench_24.04")
35