kbberendsen commited on
Commit
bb37a5e
1 Parent(s): fef44ff
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -22,10 +22,10 @@ def server(input, output, session):
22
  def get_data():
23
  ff1.Cache.enable_cache('.\cache')
24
 
25
- session = ff1.get_session(2023, input.track, 'R')
26
- session.load()
27
 
28
- lap = session.laps.pick_fastest()
29
  tel = lap.get_telemetry()
30
 
31
  #converting data to numpy data tables
 
22
  def get_data():
23
  ff1.Cache.enable_cache('.\cache')
24
 
25
+ session_f1 = ff1.get_session(2023, input.track, 'R')
26
+ session_f1.load()
27
 
28
+ lap = session_f1.laps.pick_fastest()
29
  tel = lap.get_telemetry()
30
 
31
  #converting data to numpy data tables