Pavel Malov commited on
Commit
489af12
·
1 Parent(s): 12d1592

Add old caching

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ name = st.text_input("Paste here name of your paper")
10
  abstract = st.text_area("Paste here abstract of your paper")
11
 
12
 
13
- @st.cache_resource # 👈 Add the caching decorator
14
  def load_model():
15
  return InferenceModel()
16
 
 
10
  abstract = st.text_area("Paste here abstract of your paper")
11
 
12
 
13
+ @st.cache # 👈 Add the caching decorator
14
  def load_model():
15
  return InferenceModel()
16