rande commited on
Commit
72bb033
1 Parent(s): 366e4ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import json
6
  from sklearn.metrics.pairwise import cosine_similarity
7
 
8
  # Define the cache decorator for loading the spaCy model
9
- @st.cache_resource(allow_output_mutation=True)
10
  def load_nlp_model():
11
  return tl_calamancy_lg.load()
12
 
 
6
  from sklearn.metrics.pairwise import cosine_similarity
7
 
8
  # Define the cache decorator for loading the spaCy model
9
+ @st.cache_resource()
10
  def load_nlp_model():
11
  return tl_calamancy_lg.load()
12