Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ TOKEN = os.environ.get("DEBUG")
|
|
6 |
API = HfApi(token=TOKEN)
|
7 |
|
8 |
def update(name):
|
9 |
-
API.restart_space("EnergyStarAI/
|
10 |
return f"Okay! EnergyStarAI/launch-computation-example should be running now!"
|
11 |
|
12 |
with gr.Blocks() as demo:
|
|
|
6 |
API = HfApi(token=TOKEN)
|
7 |
|
8 |
def update(name):
|
9 |
+
API.restart_space("EnergyStarAI/launch-computation-example")
|
10 |
return f"Okay! EnergyStarAI/launch-computation-example should be running now!"
|
11 |
|
12 |
with gr.Blocks() as demo:
|