minhopark-neubla commited on
Commit
fc57036
1 Parent(s): b24d491

Change snapshot_download parameters

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -48,7 +48,12 @@ def init_space():
48
  try:
49
  print(EVAL_RESULTS_PATH)
50
  snapshot_download(
51
- repo_id=RESULTS_REPO, local_dir=EVAL_RESULTS_PATH, repo_type="dataset", tqdm_class=None, etag_timeout=30
 
 
 
 
 
52
  )
53
  except Exception as e:
54
  print(e)
 
48
  try:
49
  print(EVAL_RESULTS_PATH)
50
  snapshot_download(
51
+ repo_id=RESULTS_REPO,
52
+ local_dir=EVAL_RESULTS_PATH,
53
+ repo_type="dataset",
54
+ tqdm_class=None,
55
+ etag_timeout=60,
56
+ resume_download=True,
57
  )
58
  except Exception as e:
59
  print(e)