Spaces:
Runtime error
Runtime error
lukelike1001
commited on
Commit
•
ec79bdd
1
Parent(s):
9bb9521
cli download re-added
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import torch
|
|
4 |
from transformers import DistilBertTokenizer, DistilBertForSequenceClassification
|
5 |
|
6 |
TOKEN_SIZE = 128
|
|
|
7 |
nlp = spacy.load("en_core_web_sm")
|
8 |
|
9 |
def multi_analysis(text):
|
|
|
4 |
from transformers import DistilBertTokenizer, DistilBertForSequenceClassification
|
5 |
|
6 |
TOKEN_SIZE = 128
|
7 |
+
spacy.cli.download("en_core_web_sm")
|
8 |
nlp = spacy.load("en_core_web_sm")
|
9 |
|
10 |
def multi_analysis(text):
|