Spaces:
Running
Running
tracinginsights
commited on
Commit
•
3dfe2d4
1
Parent(s):
4f350d0
Update pages/Peak_G-Forces.py
Browse files- pages/Peak_G-Forces.py +4 -4
pages/Peak_G-Forces.py
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
import streamlit as st
|
2 |
from repo_directory import Peak_G_Forces as gf
|
3 |
-
from repo_directory import button
|
4 |
|
5 |
YEAR_SELECTED = st.selectbox(
|
6 |
'Select Year',
|
7 |
-
(2023, 2022, 2021, 2020, 2019, 2018))
|
8 |
|
9 |
RACE_SELECTED = st.selectbox(
|
10 |
'Select Race',
|
11 |
-
(
|
12 |
|
13 |
SESSION = st.selectbox(
|
14 |
'Select Session',
|
15 |
-
(
|
16 |
|
17 |
laps, f1session = gf.gets_laps(YEAR_SELECTED, RACE_SELECTED, SESSION)
|
18 |
|
|
|
1 |
import streamlit as st
|
2 |
from repo_directory import Peak_G_Forces as gf
|
3 |
+
from repo_directory import button, utils
|
4 |
|
5 |
YEAR_SELECTED = st.selectbox(
|
6 |
'Select Year',
|
7 |
+
(2024,2023, 2022, 2021, 2020, 2019, 2018))
|
8 |
|
9 |
RACE_SELECTED = st.selectbox(
|
10 |
'Select Race',
|
11 |
+
utils.get_events(YEAR_SELECTED))
|
12 |
|
13 |
SESSION = st.selectbox(
|
14 |
'Select Session',
|
15 |
+
utils.get_sessions(YEAR_SELECTED, RACE_SELECTED))
|
16 |
|
17 |
laps, f1session = gf.gets_laps(YEAR_SELECTED, RACE_SELECTED, SESSION)
|
18 |
|