F1-analysis / app.py
tracinginsights's picture
Update app.py
4730c65
raw
history blame
368 Bytes
from git import Repo
import os
GITHUB_PAT = os.environ['GITHUB']
if os.path.exists('repo_directory'):
None
else:
return Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' )
import repo_directory.app as app
# app.plot_circuits()
# app.plot_recent_overtakes()
# app.plot_full_season()