Spaces:
Runtime error
Runtime error
tracinginsights
commited on
Commit
•
e9751ec
1
Parent(s):
2a548f5
Update pages/Top_Speed_at_Speed_Trap.py
Browse files
pages/Top_Speed_at_Speed_Trap.py
CHANGED
@@ -1,19 +1,19 @@
|
|
1 |
import streamlit as st
|
2 |
from repo_directory import Top_Speed_at_Speed_Trap
|
3 |
-
from repo_directory import button
|
4 |
|
5 |
YEAR = st.selectbox(
|
6 |
'Select Year',
|
7 |
-
(2023, 2022, 2021, 2020, 2019, 2018))
|
8 |
|
9 |
RACE = st.selectbox(
|
10 |
'Select Race',
|
11 |
-
(
|
12 |
|
13 |
|
14 |
SESSION = st.selectbox(
|
15 |
'Select Session',
|
16 |
-
(
|
17 |
|
18 |
laps = Top_Speed_at_Speed_Trap.get_laps(YEAR, RACE, SESSION)
|
19 |
|
|
|
1 |
import streamlit as st
|
2 |
from repo_directory import Top_Speed_at_Speed_Trap
|
3 |
+
from repo_directory import button, utils
|
4 |
|
5 |
YEAR = st.selectbox(
|
6 |
'Select Year',
|
7 |
+
(2024,2023, 2022, 2021, 2020, 2019, 2018))
|
8 |
|
9 |
RACE = st.selectbox(
|
10 |
'Select Race',
|
11 |
+
utils.get_events(YEAR))
|
12 |
|
13 |
|
14 |
SESSION = st.selectbox(
|
15 |
'Select Session',
|
16 |
+
utils.get_sessions(YEAR, RACE))
|
17 |
|
18 |
laps = Top_Speed_at_Speed_Trap.get_laps(YEAR, RACE, SESSION)
|
19 |
|