AhdCompnay commited on
Commit
c920ba5
1 Parent(s): c7d1c2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ with st.form(key="my_form"):
65
  # if ModelType == "Default (DistilBERT)":
66
  # kw_model = KeyBERT(model=roberta)
67
 
68
- @st.cache_resource(allow_output_mutation=True)
69
  def load_model():
70
  return KpeRanker()
71
 
 
65
  # if ModelType == "Default (DistilBERT)":
66
  # kw_model = KeyBERT(model=roberta)
67
 
68
+ @st.cache_resource
69
  def load_model():
70
  return KpeRanker()
71