Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Clean up
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ from src.display.utils import (
|
|
28 |
WeightType,
|
29 |
fields,
|
30 |
)
|
31 |
-
from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REPO_ID, RESULTS_REPO
|
32 |
from src.populate import get_evaluation_queue_df, get_leaderboard_df
|
33 |
from src.submission.submit import add_new_eval
|
34 |
|
@@ -46,7 +46,6 @@ try:
|
|
46 |
repo_type="dataset",
|
47 |
tqdm_class=None,
|
48 |
etag_timeout=30,
|
49 |
-
token=TOKEN,
|
50 |
)
|
51 |
except Exception:
|
52 |
restart_space()
|
@@ -58,7 +57,6 @@ try:
|
|
58 |
repo_type="dataset",
|
59 |
tqdm_class=None,
|
60 |
etag_timeout=30,
|
61 |
-
token=TOKEN,
|
62 |
)
|
63 |
except Exception:
|
64 |
restart_space()
|
|
|
28 |
WeightType,
|
29 |
fields,
|
30 |
)
|
31 |
+
from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REPO_ID, RESULTS_REPO
|
32 |
from src.populate import get_evaluation_queue_df, get_leaderboard_df
|
33 |
from src.submission.submit import add_new_eval
|
34 |
|
|
|
46 |
repo_type="dataset",
|
47 |
tqdm_class=None,
|
48 |
etag_timeout=30,
|
|
|
49 |
)
|
50 |
except Exception:
|
51 |
restart_space()
|
|
|
57 |
repo_type="dataset",
|
58 |
tqdm_class=None,
|
59 |
etag_timeout=30,
|
|
|
60 |
)
|
61 |
except Exception:
|
62 |
restart_space()
|