meg HF staff commited on
Commit
808c25e
·
verified ·
1 Parent(s): 54e4d52

Create pause_space.py

Browse files
Files changed (1) hide show
  1. 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")