File size: 328 Bytes
1a69dbe
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import os
from git import Repo

url = 'git@hf.co: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