lixuejing commited on
Commit
f03b66d
·
1 Parent(s): 210ff50

move restart

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -58,7 +58,7 @@ def init_space():
58
  print(huggingface_hub.__version__)
59
  import time
60
  time.sleep(25)
61
- restart_space()
62
  try:
63
  print(DYNAMIC_INFO_PATH)
64
  snapshot_download(
@@ -69,7 +69,7 @@ def init_space():
69
  print("dynamic_info exception", traceback.format_exc())
70
  import time
71
  time.sleep(25)
72
- restart_space()
73
  try:
74
  print(EVAL_RESULTS_PATH)
75
  snapshot_download(
@@ -80,7 +80,7 @@ def init_space():
80
  print("EVAL_RESULTS exception", traceback.format_exc())
81
  import time
82
  time.sleep(25)
83
- restart_space()
84
 
85
 
86
  raw_data, original_df = get_leaderboard_df(
 
58
  print(huggingface_hub.__version__)
59
  import time
60
  time.sleep(25)
61
+ #restart_space()
62
  try:
63
  print(DYNAMIC_INFO_PATH)
64
  snapshot_download(
 
69
  print("dynamic_info exception", traceback.format_exc())
70
  import time
71
  time.sleep(25)
72
+ #restart_space()
73
  try:
74
  print(EVAL_RESULTS_PATH)
75
  snapshot_download(
 
80
  print("EVAL_RESULTS exception", traceback.format_exc())
81
  import time
82
  time.sleep(25)
83
+ #restart_space()
84
 
85
 
86
  raw_data, original_df = get_leaderboard_df(