nasun's picture
Update app.py
ee7293d
raw
history blame contribute delete
337 Bytes
import os
from git import Repo
import sys
access_token = os.environ['AccessTokenToPrivate']
Repo.clone_from(f"https://sunyeop.na:{access_token}@huggingface.co/spaces/naverz/zmlops_diffusion_sample.git",
"./repo_directory")
print("Clone Done.")
sys.path.append(os.path.abspath("./repo_directory"))
import repo_directory.app as app