File size: 460 Bytes
e8a3017
 
 
 
 
 
 
 
 
 
 
 
 
 
d3bbc88
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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()
Overtakes.plot_recent_overtakes(option)
Overtakes.plot_full_season()
Overtakes.plot_circuits()