XufengDuan commited on
Commit
24c1bd7
1 Parent(s): 06a62df

update scripts

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. src/leaderboard/read_evals.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ print("TOKEN", TOKEN)
27
 
28
  def ui_snapshot_download(repo_id, local_dir, repo_type, tqdm_class, etag_timeout):
29
  try:
30
- print(local_dir)
31
  snapshot_download(repo_id=repo_id, local_dir=local_dir, repo_type=repo_type, tqdm_class=tqdm_class, etag_timeout=etag_timeout)
32
  except Exception as e:
33
  restart_space()
 
27
 
28
  def ui_snapshot_download(repo_id, local_dir, repo_type, tqdm_class, etag_timeout):
29
  try:
30
+ print("local",local_dir)
31
  snapshot_download(repo_id=repo_id, local_dir=local_dir, repo_type=repo_type, tqdm_class=tqdm_class, etag_timeout=etag_timeout)
32
  except Exception as e:
33
  restart_space()
src/leaderboard/read_evals.py CHANGED
@@ -131,7 +131,7 @@ class EvalResult:
131
  """Finds the relevant request file for the current model and updates info with it"""
132
  request_file = get_request_file_for_model(requests_path, self.full_model,
133
  self.precision.value.name)
134
- print(request_file)
135
  all_files = os.listdir(request_file)
136
  print("Files in the folder:", all_files)
137
 
 
131
  """Finds the relevant request file for the current model and updates info with it"""
132
  request_file = get_request_file_for_model(requests_path, self.full_model,
133
  self.precision.value.name)
134
+ print("test the variable:",request_file)
135
  all_files = os.listdir(request_file)
136
  print("Files in the folder:", all_files)
137