File size: 233 Bytes
34a0cdc
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import os

from huggingface_hub import HfApi

API = HfApi(token=os.environ.get("HF_TOKEN"))
REPO_ID = "Limour/llama-python-streamingllm"


def restart_space():
    API.restart_space(repo_id=REPO_ID, token=os.environ.get("HF_TOKEN"))