Spaces:
Runtime error
Runtime error
Create pause_space.py
Browse files- pause_space.py +7 -0
pause_space.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from huggingface_hub import HfApi
|
2 |
+
import os
|
3 |
+
|
4 |
+
TOKEN = os.environ.get("DEBUG")
|
5 |
+
|
6 |
+
API = HfApi(token=TOKEN)
|
7 |
+
API.pause_space("EnergyStarAI/launch-computation-example")
|