Spaces:
Sleeping
Sleeping
Suzen Fylke
commited on
Commit
•
609e03f
1
Parent(s):
13e18ca
Use en_core_web_lg
Browse files- app.py +1 -1
- 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("
|
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/
|
|
|
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
|