nasun's picture
init space
1a69dbe
raw
history blame
328 Bytes
import os
from git import Repo
url = '[email protected]:spaces/naverz/zmlops_diffusion_sample.git'
access_token = os.environ['AccessTokenToPrivate']
Repo.clone_from(f"https://nasun:{access_token}@hf.co:spaces/naverz/zmlops_diffusion_sample.git",
"./repo_directory")
print("Clone Done.")
import repo_directory.main as inside_code