F1-analysis / Overtakes.py
tracinginsights's picture
Create Overtakes.py
40bffd7
raw
history blame
444 Bytes
from git import Repo
import os
import streamlit as st
GITHUB_PAT = os.environ['GITHUB']
if not os.path.exists('repo_directory'):
Repo.clone_from(f'https://tracinginsights:{GITHUB_PAT}@github.com/TracingInsights/F1_analysis.git', 'repo_directory' )
from repo_directory import button
from repo_directory import Overtakes
option = Overtakes.select_gp()
app.plot_recent_overtakes(option)
app.plot_full_season()
app.plot_circuits()