amirhoseinsedaghati commited on
Commit
571aae6
1 Parent(s): f3fdc06

Update pages/Analyze_Text.py

Browse files
Files changed (1) hide show
  1. pages/Analyze_Text.py +1 -2
pages/Analyze_Text.py CHANGED
@@ -14,8 +14,7 @@ from torch.nn.functional import softmax
14
 
15
  from spacy import displacy
16
  import spacy
17
- nlp = spacy.util.set_data_path("https://huggingface.co/spacy/en_core_web_sm/resolve/main/en_core_web_sm-any-py3-none-any.whl")
18
- # nlp = spacy.load('en_core_web_sm')
19
 
20
  from collections import Counter
21
  import neattext as nt
 
14
 
15
  from spacy import displacy
16
  import spacy
17
+ nlp = spacy.load('en_core_web_sm')
 
18
 
19
  from collections import Counter
20
  import neattext as nt