marcelomoreno26 commited on
Commit
40da909
1 Parent(s): 8653d5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import streamlit as st
4
  import pandas as pd
5
 
6
 
7
- @st.cache
8
  def load_example_file(file):
9
  with open(file, "rb") as f:
10
  return f.read()
 
4
  import pandas as pd
5
 
6
 
7
+ st.cache_data
8
  def load_example_file(file):
9
  with open(file, "rb") as f:
10
  return f.read()