tracinginsights commited on
Commit
3e9ea0e
1 Parent(s): c69b08e

Update pages/Tyre_Strategy.py

Browse files
Files changed (1) hide show
  1. pages/Tyre_Strategy.py +3 -3
pages/Tyre_Strategy.py CHANGED
@@ -1,16 +1,16 @@
1
  import streamlit as st
2
  from repo_directory import Tyre_Strategy
3
- from repo_directory import button
4
 
5
 
6
  YEAR_SELECTED = st.selectbox(
7
  'Select Year',
8
- (2023, 2022, 2021, 2020, 2019, 2018))
9
 
10
 
11
  RACE_SELECTED = st.selectbox(
12
  'Select Race',
13
- (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23))
14
 
15
 
16
  driver_stints, drivers_list, test, last_row, f1session = Tyre_Strategy.get_data(YEAR_SELECTED, RACE_SELECTED)
 
1
  import streamlit as st
2
  from repo_directory import Tyre_Strategy
3
+ from repo_directory import button, utils
4
 
5
 
6
  YEAR_SELECTED = st.selectbox(
7
  'Select Year',
8
+ (2024,2023, 2022, 2021, 2020, 2019, 2018))
9
 
10
 
11
  RACE_SELECTED = st.selectbox(
12
  'Select Race',
13
+ utils.get_events(YEAR_SELECTED))
14
 
15
 
16
  driver_stints, drivers_list, test, last_row, f1session = Tyre_Strategy.get_data(YEAR_SELECTED, RACE_SELECTED)