tracinginsights commited on
Commit
0dc4e49
1 Parent(s): ecae05d

Create Ideal_Lap.py

Browse files
Files changed (1) hide show
  1. pages/Ideal_Lap.py +19 -0
pages/Ideal_Lap.py ADDED
@@ -0,0 +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
+ (2022, 2021, 2020, 2019, 2018))
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))
14
+
15
+ SESSION = st.selectbox(
16
+ 'Select Session',
17
+ ('FP1', 'FP2', 'FP3', 'Q', 'SQ', 'R'))
18
+
19
+ Ideal_Lap.plot(YEAR_SELECTED, RACE_SELECTED, SESSION)