F1-analysis / app.py
tracinginsights's picture
Update app.py
3cd24f4
raw
history blame
351 Bytes
from git import Repo
import os
GITHUB_PAT = os.environ['GITHUB']
if os.path.exists('repo_directory'):
else:
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()