Aarifkhan commited on
Commit
3c9cba9
1 Parent(s): b787f43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ fs = HfFileSystem()
21
  def refresh(how_much=3600): # default to 1 hour
22
  time.sleep(how_much)
23
  try:
24
- api.restart_space(repo_id="Weyaxi/leaderboard-results-to-modelcard")
25
  except Exception as e:
26
  print(f"Error while scraping leaderboard, trying again... {e}")
27
  refresh(600) # 10 minutes if any error happens
 
21
  def refresh(how_much=3600): # default to 1 hour
22
  time.sleep(how_much)
23
  try:
24
+ api.restart_space(repo_id="Aarifkhan/leaderboard-results-to-modelcard")
25
  except Exception as e:
26
  print(f"Error while scraping leaderboard, trying again... {e}")
27
  refresh(600) # 10 minutes if any error happens