TempCompass / tmp.py
lyx97's picture
commit files to HF hub
4a17f96
raw
history blame
281 Bytes
from huggingface_hub import Repository, HfApi
import os
hf_token = os.getenv('HF_TOKEN')
api = HfApi(token=hf_token)
repo = Repository(
local_dir=".",
clone_from="https://huggingface.co/spaces/lyx97/TempCompass",
use_auth_token=hf_token,
)
print(repo.git_remote_url())