Vivien commited on
Commit
74c6aae
·
1 Parent(s): fc673f7

Add caching

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ from st_clickable_images import clickable_images
8
  MODEL_NAMES = ["base-patch32", "base-patch16", "large-patch14", "large-patch14-336"]
9
 
10
 
11
- #@st.cache(show_spinner=False, hash_funcs={dict: lambda _: None})
12
  def load():
13
  df = {0: pd.read_csv("data.csv"), 1: pd.read_csv("data2.csv")}
14
  models = {}
 
8
  MODEL_NAMES = ["base-patch32", "base-patch16", "large-patch14", "large-patch14-336"]
9
 
10
 
11
+ @st.cache(show_spinner=False, hash_funcs={dict: lambda _: None})
12
  def load():
13
  df = {0: pd.read_csv("data.csv"), 1: pd.read_csv("data2.csv")}
14
  models = {}