Spaces:
Runtime error
Runtime error
update repo
Browse files
app.py
CHANGED
@@ -9,12 +9,12 @@ from src.about import (
|
|
9 |
TITLE,
|
10 |
)
|
11 |
from src.display.css_html_js import custom_css
|
12 |
-
from src.envs import API, REPO_ID
|
13 |
from src import populate
|
14 |
|
15 |
|
16 |
def restart_space():
|
17 |
-
API.restart_space(repo_id=REPO_ID)
|
18 |
|
19 |
restart_space()
|
20 |
|
|
|
9 |
TITLE,
|
10 |
)
|
11 |
from src.display.css_html_js import custom_css
|
12 |
+
from src.envs import API, REPO_ID, TOKEN
|
13 |
from src import populate
|
14 |
|
15 |
|
16 |
def restart_space():
|
17 |
+
API.restart_space(repo_id=REPO_ID, token=TOKEN)
|
18 |
|
19 |
restart_space()
|
20 |
|