smothiki commited on
Commit
1ba7747
1 Parent(s): 32ac109

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -26,7 +26,7 @@ from src.display.utils import (
26
  WeightType,
27
  Precision
28
  )
29
- from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, H4_TOKEN, IS_PUBLIC, QUEUE_REPO, REPO_ID, RESULTS_REPO
30
  from src.populate import get_evaluation_queue_df, get_leaderboard_df
31
  from src.submission.submit import add_new_eval
32
  from src.tools.collections import update_collections
@@ -38,7 +38,7 @@ from src.tools.plots import (
38
 
39
 
40
  def restart_space():
41
- API.restart_space(repo_id=REPO_ID, token=H4_TOKEN)
42
 
43
  try:
44
  print(EVAL_REQUESTS_PATH)
 
26
  WeightType,
27
  Precision
28
  )
29
+ from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, HF_TOKEN, IS_PUBLIC, QUEUE_REPO, REPO_ID, RESULTS_REPO
30
  from src.populate import get_evaluation_queue_df, get_leaderboard_df
31
  from src.submission.submit import add_new_eval
32
  from src.tools.collections import update_collections
 
38
 
39
 
40
  def restart_space():
41
+ API.restart_space(repo_id=REPO_ID, token=HF_TOKEN)
42
 
43
  try:
44
  print(EVAL_REQUESTS_PATH)