Update app.py
Browse files
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(
|
| 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 |
|