Paul Hager commited on
Commit
71d6be9
·
1 Parent(s): d614158

Fixed repo var name

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -23,7 +23,7 @@ from src.display.utils import (
23
  WeightType,
24
  Precision,
25
  )
26
- from src.envs import API, EVAL_RESULTS_PATH_CDM, EVAL_RESULTS_PATH_CDM_FI, REPO_ID, RESULTS_REPO, TOKEN
27
  from src.populate import get_leaderboard_df
28
 
29
 
@@ -35,7 +35,7 @@ def restart_space():
35
  try:
36
  print(EVAL_RESULTS_PATH_CDM)
37
  snapshot_download(
38
- repo_id=RESULTS_REPO,
39
  local_dir=EVAL_RESULTS_PATH_CDM,
40
  repo_type="dataset",
41
  tqdm_class=None,
@@ -48,7 +48,7 @@ except Exception:
48
  try:
49
  print(EVAL_RESULTS_PATH_CDM_FI)
50
  snapshot_download(
51
- repo_id=RESULTS_REPO,
52
  local_dir=EVAL_RESULTS_PATH_CDM_FI,
53
  repo_type="dataset",
54
  tqdm_class=None,
 
23
  WeightType,
24
  Precision,
25
  )
26
+ from src.envs import API, EVAL_RESULTS_PATH_CDM, EVAL_RESULTS_PATH_CDM_FI, REPO_ID, RESULTS_REPO_CDM, RESULTS_REPO_CDM_FI, TOKEN
27
  from src.populate import get_leaderboard_df
28
 
29
 
 
35
  try:
36
  print(EVAL_RESULTS_PATH_CDM)
37
  snapshot_download(
38
+ repo_id=RESULTS_REPO_CDM,
39
  local_dir=EVAL_RESULTS_PATH_CDM,
40
  repo_type="dataset",
41
  tqdm_class=None,
 
48
  try:
49
  print(EVAL_RESULTS_PATH_CDM_FI)
50
  snapshot_download(
51
+ repo_id=RESULTS_REPO_CDM_FI,
52
  local_dir=EVAL_RESULTS_PATH_CDM_FI,
53
  repo_type="dataset",
54
  tqdm_class=None,