Spaces:
Running
Running
File size: 432 Bytes
f731239 0495d99 3a51f31 0495d99 a258686 0495d99 cc670ae a258686 f731239 a258686 f731239 a258686 028bb9a c944b7a f731239 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
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") |