Update app.py
Browse files
app.py
CHANGED
|
@@ -257,7 +257,8 @@ def load_champion_models():
|
|
| 257 |
"Ensure the 5 .pkl files are in the 'models/' directory.")
|
| 258 |
return []
|
| 259 |
|
| 260 |
-
@st.
|
|
|
|
| 261 |
"""Loads pre-calculated performance data for Tab 3."""
|
| 262 |
try:
|
| 263 |
df = pd.read_csv(file_path)
|
|
|
|
| 257 |
"Ensure the 5 .pkl files are in the 'models/' directory.")
|
| 258 |
return []
|
| 259 |
|
| 260 |
+
@st.cache_data
|
| 261 |
+
def load_performance_data(file_path="data/final_5_day_results_df.csv"):
|
| 262 |
"""Loads pre-calculated performance data for Tab 3."""
|
| 263 |
try:
|
| 264 |
df = pd.read_csv(file_path)
|