Spaces:
Runtime error
Runtime error
tracinginsights
commited on
Commit
·
68f7905
1
Parent(s):
88f8db5
Update main.py
Browse files
main.py
CHANGED
@@ -172,7 +172,7 @@ def compute_accelerations(telemetry):
|
|
172 |
@st.cache_data
|
173 |
@app.get("/wdc", response_model=None)
|
174 |
def driver_standings() -> any:
|
175 |
-
YEAR = datetime.datetime.now().year
|
176 |
df = pd.DataFrame(
|
177 |
pd.read_html(f"https://www.formula1.com/en/results.html/{YEAR}/drivers.html")[0]
|
178 |
)
|
|
|
172 |
@st.cache_data
|
173 |
@app.get("/wdc", response_model=None)
|
174 |
def driver_standings() -> any:
|
175 |
+
YEAR = 2023 #datetime.datetime.now().year
|
176 |
df = pd.DataFrame(
|
177 |
pd.read_html(f"https://www.formula1.com/en/results.html/{YEAR}/drivers.html")[0]
|
178 |
)
|