Spaces:
Runtime error
Runtime error
Commit
•
2f2fe28
1
Parent(s):
b5f0ee1
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ pipe = pipeline('sentiment-analysis')
|
|
19 |
if selection == "DistilBERT":
|
20 |
pipe = pipeline(model = "distilbert-base-uncased-finetuned-sst-2-english")
|
21 |
if selection == "Toxicity-Classifier":
|
22 |
-
pipe = pipeline(model = "
|
23 |
if selection == "Twitter-roBERTa":
|
24 |
pipe = pipeline(model = "cardiffnlp/twitter-roberta-base-sentiment-latest")
|
25 |
if selection == "SiEBERT":
|
|
|
19 |
if selection == "DistilBERT":
|
20 |
pipe = pipeline(model = "distilbert-base-uncased-finetuned-sst-2-english")
|
21 |
if selection == "Toxicity-Classifier":
|
22 |
+
pipe = pipeline(model = "unitary/toxic-bert")
|
23 |
if selection == "Twitter-roBERTa":
|
24 |
pipe = pipeline(model = "cardiffnlp/twitter-roberta-base-sentiment-latest")
|
25 |
if selection == "SiEBERT":
|