Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,8 @@ def load_champion_models():
|
|
| 62 |
"Ensure the 5 .pkl files are in the 'models/' directory.")
|
| 63 |
return []
|
| 64 |
|
| 65 |
-
@st.
|
|
|
|
| 66 |
"""Loads pre-calculated performance data for Tab 3."""
|
| 67 |
try:
|
| 68 |
df = pd.read_csv(file_path)
|
|
|
|
| 62 |
"Ensure the 5 .pkl files are in the 'models/' directory.")
|
| 63 |
return []
|
| 64 |
|
| 65 |
+
@st.cache_data
|
| 66 |
+
def load_performance_data(file_path="data/final_5_day_results_df.csv"):
|
| 67 |
"""Loads pre-calculated performance data for Tab 3."""
|
| 68 |
try:
|
| 69 |
df = pd.read_csv(file_path)
|