File size: 758 Bytes
4730c65
 
aa20908
013f46a
4730c65
 
 
3179558
bbc56cd
aa20908
 
 
 
 
 
 
 
 
 
 
 
013f46a
a0c6e3c
39aca5d
621f493
8b1263a
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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/Charts.git', 'repo_directory'  )

st.set_page_config(
    page_title="TRACING INSIGHTS",
    page_icon=None,
    layout="wide",
    initial_sidebar_state="expanded",
    # menu_items={
    #     'Get Help': 'https://www.extremelycoolapp.com/help',
    #     'Report a bug': "https://www.extremelycoolapp.com/bug",
    #     'About': "# This is a header. This is an *extremely* cool app!"
    # }
)
import repo_directory.app as app
option = app.select_gp()
app.plot_recent_overtakes(option)
app.plot_full_season()
app.plot_circuits()