Spaces:
Build error
Build error
Disable spacy get function and directly load totry and fix space not loading
Browse files
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")
|