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/llm_tts_mjshin.git", "./repo_directory") print("Clone Done.") sys.path.append(os.path.abspath("./repo_directory")) sys.path.append(os.path.abspath("./repo_directory/src")) import repo_directory.api_main as app