Spaces:
Running
Running
from git import Repo | |
import os | |
GITHUB_PAT = os.environ['GITHUB'] | |
def clone_repo(): | |
return Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' ) |