lixuejing commited on
Commit
4dee79e
·
1 Parent(s): 95f2222
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -65,9 +65,8 @@ def init_space():
65
  snapshot_download(
66
  repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
67
  )
68
- except Exception:
69
- import traceback
70
- print("EVAL_RESULTS exception",traceback.format_exc())
71
  restart_space()
72
 
73
 
 
65
  snapshot_download(
66
  repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
67
  )
68
+ except Exception as e:
69
+ print("EVAL_RESULTS exception", e)
 
70
  restart_space()
71
 
72