Suzen Fylke commited on
Commit
609e03f
1 Parent(s): 13e18ca

Use en_core_web_lg

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import spacy
4
  from transformers import pipeline
5
  import wikipedia
6
 
7
- nlp = spacy.load("en_core_web_sm")
8
  sentiment_analyzer = pipeline(
9
  "sentiment-analysis",
10
  model="distilbert-base-uncased-finetuned-sst-2-english",
 
4
  from transformers import pipeline
5
  import wikipedia
6
 
7
+ nlp = spacy.load("en_core_web_lg")
8
  sentiment_analyzer = pipeline(
9
  "sentiment-analysis",
10
  model="distilbert-base-uncased-finetuned-sst-2-english",
requirements.txt CHANGED
@@ -4,4 +4,4 @@ spacy
4
  torch
5
  transformers
6
  wikipedia
7
- https://huggingface.co/spacy/en_core_web_sm/resolve/main/en_core_web_sm-any-py3-none-any.whl
 
4
  torch
5
  transformers
6
  wikipedia
7
+ https://huggingface.co/spacy/en_core_web_lg/resolve/main/en_core_web_lg-any-py3-none-any.whl