Spaces:
Running
Running
import streamlit as st | |
from repo_directory import Start_Finish_Speed | |
from repo_directory import button, utils | |
# selections | |
YEAR = st.selectbox( | |
'Select Year', | |
utils.get_years()) | |
RACE = st.selectbox( | |
'Select Race', | |
utils.get_events(YEAR)) | |
SESSION = st.selectbox( | |
'Select Session', | |
utils.get_sessions(YEAR, RACE)) | |
Start_Finish_Speed.plot(YEAR, RACE, SESSION) | |
Start_Finish_Speed.plot_teams(YEAR, RACE, SESSION) | |