Spaces:
Runtime error
Runtime error
kbberendsen
commited on
Commit
•
bb37a5e
1
Parent(s):
fef44ff
something
Browse files
app.py
CHANGED
@@ -22,10 +22,10 @@ def server(input, output, session):
|
|
22 |
def get_data():
|
23 |
ff1.Cache.enable_cache('.\cache')
|
24 |
|
25 |
-
|
26 |
-
|
27 |
|
28 |
-
lap =
|
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
|