launch-computation-example / pause_space.py
meg's picture
meg HF staff
Create pause_space.py
808c25e verified
raw
history blame
161 Bytes
from huggingface_hub import HfApi
import os
TOKEN = os.environ.get("DEBUG")
API = HfApi(token=TOKEN)
API.pause_space("EnergyStarAI/launch-computation-example")