Spaces:
Sleeping
Sleeping
butterswords
commited on
Commit
·
9faaa1c
1
Parent(s):
1cb04f1
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import pandas as pd, spacy, nltk, numpy as np
|
|
3 |
from spacy.matcher import Matcher
|
4 |
nlp = spacy.load("en_core_web_lg")
|
5 |
nltk.download('omw-1.4')
|
|
|
6 |
|
7 |
#Import the libraries to support the model and predictions.
|
8 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline
|
|
|
3 |
from spacy.matcher import Matcher
|
4 |
nlp = spacy.load("en_core_web_lg")
|
5 |
nltk.download('omw-1.4')
|
6 |
+
from nltk.corpus import wordnet
|
7 |
|
8 |
#Import the libraries to support the model and predictions.
|
9 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification, TextClassificationPipeline
|