MatthiasC commited on
Commit
aac5385
1 Parent(s): 25d9773

Disable spacy get function and directly load totry and fix space not loading

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -302,7 +302,8 @@ currently selected article.""")
302
  sentence_embedding_model = get_sentence_embedding_model()
303
  # tagger = get_flair_tagger()
304
  ner_model = get_transformer_pipeline()
305
- nlp = get_spacy()
 
306
 
307
  # GENERATING SUMMARIES PART
308
  st.header("Generating summaries")
 
302
  sentence_embedding_model = get_sentence_embedding_model()
303
  # tagger = get_flair_tagger()
304
  ner_model = get_transformer_pipeline()
305
+ #nlp = get_spacy()
306
+ nlp = en_core_web_lg.load()
307
 
308
  # GENERATING SUMMARIES PART
309
  st.header("Generating summaries")