minhopark-neubla commited on
Commit
5f5b833
1 Parent(s): 3b0c2a7

Try restart when execption

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def init_space():
51
  repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
52
  )
53
  except Exception:
54
- pass
55
 
56
  raw_data, original_df = get_leaderboard_df(
57
  results_path=EVAL_RESULTS_PATH, cols=COLS, benchmark_cols=BENCHMARK_COLS
 
51
  repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
52
  )
53
  except Exception:
54
+ restart_space()
55
 
56
  raw_data, original_df = get_leaderboard_df(
57
  results_path=EVAL_RESULTS_PATH, cols=COLS, benchmark_cols=BENCHMARK_COLS