nasun's picture
Create app.py
c7981cc verified
raw
history blame contribute delete
334 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/hyperfuncs_gemini_ui.git",
"./repo_directory")
print("Clone Done.")
sys.path.append(os.path.abspath("./repo_directory"))
import repo_directory.app as app