Spaces:
Runtime error
Runtime error
kbberendsen
commited on
Commit
•
04160ad
1
Parent(s):
cefa7ac
remove default track
Browse files
app.py
CHANGED
@@ -9,17 +9,14 @@ import os
|
|
9 |
|
10 |
try:
|
11 |
script_dir = os.path.dirname(os.path.abspath(__file__))
|
|
|
12 |
cache_folder = 'cache'
|
13 |
cache_dir = os.path.join(script_dir, cache_folder)
|
|
|
14 |
ff1.Cache.enable_cache(cache_dir)
|
15 |
except:
|
16 |
print('Cache error!!')
|
17 |
|
18 |
-
#Default session
|
19 |
-
f1_session = ff1.get_session(2023, "Austria", "R")
|
20 |
-
f1_session.load()
|
21 |
-
|
22 |
-
|
23 |
app_ui = ui.page_fluid(
|
24 |
ui.div(
|
25 |
ui.input_select(
|
|
|
9 |
|
10 |
try:
|
11 |
script_dir = os.path.dirname(os.path.abspath(__file__))
|
12 |
+
print(script_dir)
|
13 |
cache_folder = 'cache'
|
14 |
cache_dir = os.path.join(script_dir, cache_folder)
|
15 |
+
print(cache_dir)
|
16 |
ff1.Cache.enable_cache(cache_dir)
|
17 |
except:
|
18 |
print('Cache error!!')
|
19 |
|
|
|
|
|
|
|
|
|
|
|
20 |
app_ui = ui.page_fluid(
|
21 |
ui.div(
|
22 |
ui.input_select(
|