cache
Browse files
demo.py
CHANGED
@@ -32,7 +32,7 @@ st.set_page_config(
|
|
32 |
)
|
33 |
|
34 |
|
35 |
-
@st.
|
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")
|