egumasa commited on
Commit
b36c345
·
1 Parent(s): 611e15f
Files changed (1) hide show
  1. demo.py +1 -1
demo.py CHANGED
@@ -32,7 +32,7 @@ st.set_page_config(
32
  )
33
 
34
 
35
- @st.cache_data()
36
  def load_model():
37
  # nlp = spacy.load("en_engagement_RoBERTa_context_flz")
38
  nlp = spacy.load("en_engagement_LSTM")
 
32
  )
33
 
34
 
35
+ @st.cache_resource
36
  def load_model():
37
  # nlp = spacy.load("en_engagement_RoBERTa_context_flz")
38
  nlp = spacy.load("en_engagement_LSTM")