Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
275984a
1
Parent(s):
4264417
disable restart
Browse files
app.py
CHANGED
|
@@ -60,10 +60,13 @@ from src.tools.plots import (
|
|
| 60 |
#enable_space_ci()
|
| 61 |
|
| 62 |
def restart_space():
|
|
|
|
|
|
|
| 63 |
try:
|
| 64 |
API.restart_space(repo_id=REPO_ID, token=H4_TOKEN)
|
| 65 |
except:
|
| 66 |
print("Restart failed")
|
|
|
|
| 67 |
|
| 68 |
def init_space(full_init: bool = True):
|
| 69 |
if full_init:
|
|
|
|
| 60 |
#enable_space_ci()
|
| 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:
|