import os from git import Repo import sys access_token = os.environ['AccessTokenToPrivate'] Repo.clone_from(f"https://MJSHIN0122:{access_token}@huggingface.co/spaces/MJSHIN0122/emotion_mjshin.git", "./repo_directory") print("Clone Done.") sys.path.append(os.path.abspath("./repo_directory")) sys.path.append(os.path.abspath("./repo_directory/src")) from repo_directory.web import create_demo demo = create_demo() demo.launch()