unknown commited on
Commit
8db3593
·
1 Parent(s): 05b0517
Files changed (2) hide show
  1. app.py +1 -1
  2. envs.py +0 -6
app.py CHANGED
@@ -94,6 +94,6 @@ with demo:
94
  )
95
 
96
  scheduler = BackgroundScheduler()
97
- scheduler.add_job(restart_space, "interval", seconds=1800)
98
  scheduler.start()
99
  demo.queue(default_concurrency_limit=40).launch()
 
94
  )
95
 
96
  scheduler = BackgroundScheduler()
97
+ scheduler.add_job(restart_space, "interval", seconds=30)
98
  scheduler.start()
99
  demo.queue(default_concurrency_limit=40).launch()
envs.py CHANGED
@@ -16,10 +16,4 @@ RESULTS_REPO = f"{OWNER}/results"
16
  # If you setup a cache later, just change HF_HOME
17
  CACHE_PATH=os.getenv("HF_HOME", ".")
18
 
19
- # Local caches
20
- EVAL_REQUESTS_PATH = os.path.join(CACHE_PATH, "eval-queue")
21
- EVAL_RESULTS_PATH = os.path.join(CACHE_PATH, "eval-results")
22
- EVAL_REQUESTS_PATH_BACKEND = os.path.join(CACHE_PATH, "eval-queue-bk")
23
- EVAL_RESULTS_PATH_BACKEND = os.path.join(CACHE_PATH, "eval-results-bk")
24
-
25
  API = HfApi(token=TOKEN)
 
16
  # If you setup a cache later, just change HF_HOME
17
  CACHE_PATH=os.getenv("HF_HOME", ".")
18
 
 
 
 
 
 
 
19
  API = HfApi(token=TOKEN)