Spaces:
Runtime error
Runtime error
pminervini
commited on
Commit
•
b50764d
1
Parent(s):
b34c95e
update
Browse files- backend-cli.py +4 -2
backend-cli.py
CHANGED
@@ -17,6 +17,8 @@ from src.leaderboard.read_evals import EvalResult
|
|
17 |
from src.envs import QUEUE_REPO, RESULTS_REPO, API
|
18 |
from src.utils import my_snapshot_download
|
19 |
|
|
|
|
|
20 |
import logging
|
21 |
import pprint
|
22 |
|
@@ -202,8 +204,8 @@ if __name__ == "__main__":
|
|
202 |
wait = False
|
203 |
|
204 |
if wait:
|
205 |
-
|
206 |
-
|
207 |
|
208 |
# res = False
|
209 |
res = process_pending_requests()
|
|
|
17 |
from src.envs import QUEUE_REPO, RESULTS_REPO, API
|
18 |
from src.utils import my_snapshot_download
|
19 |
|
20 |
+
import time
|
21 |
+
|
22 |
import logging
|
23 |
import pprint
|
24 |
|
|
|
204 |
wait = False
|
205 |
|
206 |
if wait:
|
207 |
+
# time.sleep(60 * random.randint(2, 5))
|
208 |
+
pass
|
209 |
|
210 |
# res = False
|
211 |
res = process_pending_requests()
|