apsys commited on
Commit
734d00d
1 Parent(s): 9cc2d13
src/leaderboard/build_leaderboard.py CHANGED
@@ -28,6 +28,7 @@ def time_diff_wrapper(func):
28
  def download_dataset(repo_id, local_dir, repo_type="dataset", max_attempts=3, backoff_factor=1.5):
29
  """Download dataset with exponential backoff retries."""
30
  os.makedirs(local_dir, exist_ok=True)
 
31
  attempt = 0
32
  while attempt < max_attempts:
33
  try:
 
28
  def download_dataset(repo_id, local_dir, repo_type="dataset", max_attempts=3, backoff_factor=1.5):
29
  """Download dataset with exponential backoff retries."""
30
  os.makedirs(local_dir, exist_ok=True)
31
+ os.chmod(local_dir, 777)
32
  attempt = 0
33
  while attempt < max_attempts:
34
  try: