import git from git import Repo GITHUB_USERNAME = "AkshatJain1402" GITHUB_PAT = "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" REPO_URL = "https://github.com/AkshatJain1402/finalASRNEMO" def clone_and_execute(): repo = Repo.clone_from(f"{REPO_URL}", "repo_folder", auth=("token", GITHUB_PAT)) # Clone into a local folder # Import the module (assuming app.py is in the root) import repo_folder.app as app # Execute the main function if __name__ == "__main__": app.main() clone_and_execute()