Spaces:
Sleeping
Sleeping
Suzen Fylke
commited on
Commit
•
7a42d9a
1
Parent(s):
3a57c8d
Install spacy model
Browse files- app.py +1 -1
- requirements.txt +1 -0
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_sm")
|
8 |
sentiment_analyzer = pipeline(
|
9 |
"sentiment-analysis",
|
10 |
model="distilbert-base-uncased-finetuned-sst-2-english",
|
requirements.txt
CHANGED
@@ -3,3 +3,4 @@ gradio
|
|
3 |
spacy
|
4 |
transformers
|
5 |
wikipedia
|
|
|
|
3 |
spacy
|
4 |
transformers
|
5 |
wikipedia
|
6 |
+
https://huggingface.co/spacy/en_core_web_sm/resolve/main/en_core_web_sm-any-py3-none-any.whl
|