Update functions.py
Browse files- functions.py +2 -1
functions.py
CHANGED
@@ -317,4 +317,5 @@ def fin_ext(text):
|
|
317 |
return make_spans(text,results)
|
318 |
|
319 |
nlp = get_spacy()
|
320 |
-
sent_pipe, sum_pipe, ner_pipe, cross_encoder = load_models()
|
|
|
|
317 |
return make_spans(text,results)
|
318 |
|
319 |
nlp = get_spacy()
|
320 |
+
sent_pipe, sum_pipe, ner_pipe, cross_encoder = load_models()
|
321 |
+
sbert = load_sbert('all-MiniLM-L6-v2')
|