File size: 337 Bytes
1a69dbe
 
ee7293d
1a69dbe
 
7b5e6a3
1a69dbe
 
 
 
 
ee7293d
2c0a88d
1
2
3
4
5
6
7
8
9
10
11
12
13
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