Spaces:
Running
Running
tracinginsights
commited on
Update pages/Fastest_Lap.py
Browse files- pages/Fastest_Lap.py +3 -3
pages/Fastest_Lap.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
from repo_directory import Fastest_Lap
|
3 |
-
from repo_directory import button
|
4 |
|
5 |
|
6 |
YEAR_SELECTED = st.selectbox(
|
@@ -9,11 +9,11 @@ YEAR_SELECTED = st.selectbox(
|
|
9 |
|
10 |
RACE_SELECTED = st.selectbox(
|
11 |
'Select Race',
|
12 |
-
(
|
13 |
|
14 |
SESSION = st.selectbox(
|
15 |
'Select Session',
|
16 |
-
(
|
17 |
|
18 |
|
19 |
df, f1session, total_time, driver = Fastest_Lap.get_fastest_laps(YEAR_SELECTED,RACE_SELECTED, SESSION )
|
|
|
1 |
import streamlit as st
|
2 |
from repo_directory import Fastest_Lap
|
3 |
+
from repo_directory import button, utils
|
4 |
|
5 |
|
6 |
YEAR_SELECTED = st.selectbox(
|
|
|
9 |
|
10 |
RACE_SELECTED = st.selectbox(
|
11 |
'Select Race',
|
12 |
+
utils.get_events(YEAR_SELECTED))
|
13 |
|
14 |
SESSION = st.selectbox(
|
15 |
'Select Session',
|
16 |
+
utils.get_sessions(YEAR_SELECTED, RACE_SELECTED))
|
17 |
|
18 |
|
19 |
df, f1session, total_time, driver = Fastest_Lap.get_fastest_laps(YEAR_SELECTED,RACE_SELECTED, SESSION )
|