Bjerring98 commited on
Commit
7cfefc0
·
verified ·
1 Parent(s): 16dc1e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.cache
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