Spaces:
Runtime error
Runtime error
kbberendsen
commited on
Commit
•
ce9721c
1
Parent(s):
44864e0
offline mode
Browse files- __pycache__/app.cpython-311.pyc +0 -0
- app.py +1 -1
__pycache__/app.cpython-311.pyc
CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
|
|
app.py
CHANGED
@@ -14,7 +14,7 @@ print(f"Cache path: {cache_path}")
|
|
14 |
ff1.Cache.enable_cache(cache_path)
|
15 |
|
16 |
# Offline mode to prevent F1 API crashes on Hugging Face
|
17 |
-
|
18 |
|
19 |
# Define drivers
|
20 |
drivers_2023 = {'Fastest driver': 'Fastest driver', 'VER': 'Max Verstappen',
|
|
|
14 |
ff1.Cache.enable_cache(cache_path)
|
15 |
|
16 |
# Offline mode to prevent F1 API crashes on Hugging Face
|
17 |
+
ff1.Cache.offline_mode(enabled=True)
|
18 |
|
19 |
# Define drivers
|
20 |
drivers_2023 = {'Fastest driver': 'Fastest driver', 'VER': 'Max Verstappen',
|