Spaces:
Running
Running
| import streamlit as st | |
| from repo_directory.v2 import Max_Throttle, utils | |
| from repo_directory import button | |
| # 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)) | |
| Max_Throttle.plot(YEAR, RACE, SESSION, ) | |
| Max_Throttle.plot_teams(YEAR, RACE, SESSION, ) |