Spaces:
Sleeping
Sleeping
kevinconka
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,9 @@ from src.envs import API, EVAL_REQUESTS_PATH, EVAL_RESULTS_PATH, QUEUE_REPO, REP
|
|
29 |
from src.populate import get_evaluation_queue_df, get_leaderboard_df
|
30 |
from src.submission.submit import add_new_eval
|
31 |
|
|
|
|
|
|
|
32 |
|
33 |
def restart_space():
|
34 |
API.restart_space(repo_id=REPO_ID)
|
|
|
29 |
from src.populate import get_evaluation_queue_df, get_leaderboard_df
|
30 |
from src.submission.submit import add_new_eval
|
31 |
|
32 |
+
@spaces.GPU
|
33 |
+
def init_zero_gpu():
|
34 |
+
pass
|
35 |
|
36 |
def restart_space():
|
37 |
API.restart_space(repo_id=REPO_ID)
|