Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ from sklearn.preprocessing import OneHotEncoder
|
|
| 13 |
from streamlit_shap import st_shap
|
| 14 |
|
| 15 |
# Cache the data
|
| 16 |
-
@st.
|
| 17 |
def load_data():
|
| 18 |
data = pd.read_csv('data_cleaned_new.csv')
|
| 19 |
return data
|
|
|
|
| 13 |
from streamlit_shap import st_shap
|
| 14 |
|
| 15 |
# Cache the data
|
| 16 |
+
@st.cache_resource
|
| 17 |
def load_data():
|
| 18 |
data = pd.read_csv('data_cleaned_new.csv')
|
| 19 |
return data
|