nickmuchi commited on
Commit
9009cbe
1 Parent(s): 23c9754

Update functions.py

Browse files
Files changed (1) hide show
  1. 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()