Spaces:
Running
Running
tracinginsights
commited on
Commit
•
0601886
1
Parent(s):
15cf128
Update pages/Ideal_Lap.py
Browse files- pages/Ideal_Lap.py +4 -4
pages/Ideal_Lap.py
CHANGED
@@ -1,19 +1,19 @@
|
|
1 |
import streamlit as st
|
2 |
from repo_directory import Ideal_Lap
|
3 |
-
from repo_directory import button
|
4 |
|
5 |
st.write("Takes about 5-10 minutes")
|
6 |
|
7 |
YEAR_SELECTED = st.selectbox(
|
8 |
'Select Year',
|
9 |
-
(2023, 2022, 2021, 2020, 2019, 2018))
|
10 |
|
11 |
RACE_SELECTED = st.selectbox(
|
12 |
'Select Race',
|
13 |
-
(
|
14 |
|
15 |
SESSION = st.selectbox(
|
16 |
'Select Session',
|
17 |
-
(
|
18 |
|
19 |
Ideal_Lap.plot(YEAR_SELECTED, RACE_SELECTED, SESSION)
|
|
|
1 |
import streamlit as st
|
2 |
from repo_directory import Ideal_Lap
|
3 |
+
from repo_directory import button, utils
|
4 |
|
5 |
st.write("Takes about 5-10 minutes")
|
6 |
|
7 |
YEAR_SELECTED = st.selectbox(
|
8 |
'Select Year',
|
9 |
+
(2024,2023, 2022, 2021, 2020, 2019, 2018))
|
10 |
|
11 |
RACE_SELECTED = st.selectbox(
|
12 |
'Select Race',
|
13 |
+
utils.get_events(YEAR_SELECTED))
|
14 |
|
15 |
SESSION = st.selectbox(
|
16 |
'Select Session',
|
17 |
+
utils.get_sessions(YEAR_SELECTED,RACE_SELECTED))
|
18 |
|
19 |
Ideal_Lap.plot(YEAR_SELECTED, RACE_SELECTED, SESSION)
|