Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Re-enable restart
Browse files
app.py
CHANGED
|
@@ -61,12 +61,11 @@ from src.tools.plots import (
|
|
| 61 |
|
| 62 |
def restart_space():
|
| 63 |
print("Running Restart")
|
| 64 |
-
"""
|
| 65 |
try:
|
| 66 |
API.restart_space(repo_id=REPO_ID, token=H4_TOKEN)
|
| 67 |
except:
|
| 68 |
print("Restart failed")
|
| 69 |
-
|
| 70 |
|
| 71 |
def init_space(full_init: bool = True):
|
| 72 |
if full_init:
|
|
|
|
| 61 |
|
| 62 |
def restart_space():
|
| 63 |
print("Running Restart")
|
|
|
|
| 64 |
try:
|
| 65 |
API.restart_space(repo_id=REPO_ID, token=H4_TOKEN)
|
| 66 |
except:
|
| 67 |
print("Restart failed")
|
| 68 |
+
|
| 69 |
|
| 70 |
def init_space(full_init: bool = True):
|
| 71 |
if full_init:
|