F1-analysis / app.py
tracinginsights's picture
Update app.py
621f493
raw
history blame
370 Bytes
from git import Repo
import os
GITHUB_PAT = os.environ['GITHUB']
if not os.path.exists('repo_directory'):
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/Charts.git', 'repo_directory' )
import repo_directory.app as app
option = app.select_gp()
app.plot_recent_overtakes(option)
app.plot_full_season()
app.plot_circuits()