Spaces:
Running
Running
from git import Repo | |
import os | |
GITHUB_PAT = os.environ['GITHUB'] | |
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' ) | |
from repo_directory import * | |
#import pygit2 | |
#import os | |
#current_working_directory = os.getcwd() | |
#path = os.path.join(current_working_directory , 'streamlit') | |
#os.mkdir(path) | |
#pygit2.clone_repository(GITHUB, f"{current_working_directory}/files") |