Spaces:
Runtime error
Runtime error
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 |