Spaces:
Running
Running
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 | |
# option = app.select_gp() | |
# app.plot_recent_overtakes(option) | |
# app.plot_full_season() | |
# app.plot_circuits() | |
from multipage import MultiPage | |
from repo_directory import Race_Launch_Performance_Ratings | |
# Create an instance of the app | |
multiapp = MultiPage() | |
# Add all your application here | |
multiapp.add_page("Race_Launch_Performance_Ratings", Race_Launch_Performance_Ratings.app) | |
# The main app | |
multiapp.run() | |