yashm commited on
Commit
7baea66
·
verified ·
1 Parent(s): 1e4f958

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -157,7 +157,7 @@ def main():
157
  uploaded_file = st.file_uploader("Upload a CSV file", type=["csv"])
158
 
159
  if uploaded_file is not None:
160
- @st.cache
161
  def load_data(uploaded_file):
162
  return pd.read_csv(uploaded_file)
163
 
 
157
  uploaded_file = st.file_uploader("Upload a CSV file", type=["csv"])
158
 
159
  if uploaded_file is not None:
160
+ @st.cache_data
161
  def load_data(uploaded_file):
162
  return pd.read_csv(uploaded_file)
163