Update functions.py
Browse files- functions.py +3 -0
functions.py
CHANGED
@@ -740,3 +740,6 @@ def save_network_html(kb, filename="network.html"):
|
|
740 |
|
741 |
|
742 |
nlp = get_spacy()
|
|
|
|
|
|
|
|
740 |
|
741 |
|
742 |
nlp = get_spacy()
|
743 |
+
|
744 |
+
with st.spinner('Loading all models...'):
|
745 |
+
sent_pipe, sum_pipe, ner_pipe, cross_encoder, kg_model, kg_tokenizer, emb_tokenizer = load_models()
|