Spaces:
Runtime error
Runtime error
Jainesh212
commited on
Commit
•
ede77af
1
Parent(s):
bf43dc9
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,6 @@ import transformers
|
|
7 |
# Define sentiment analysis models
|
8 |
models = {
|
9 |
"DistilBERT": transformers.pipeline("sentiment-analysis", model="distilbert-base-uncased-finetuned-sst-2-english"),
|
10 |
-
"BERT": transformers.pipeline("sentiment-analysis", model="bert-base-uncased-finetuned-sst-2-english"),
|
11 |
"RoBERTa": transformers.pipeline("sentiment-analysis", model="roberta-base-openai-detector"),
|
12 |
}
|
13 |
|
|
|
7 |
# Define sentiment analysis models
|
8 |
models = {
|
9 |
"DistilBERT": transformers.pipeline("sentiment-analysis", model="distilbert-base-uncased-finetuned-sst-2-english"),
|
|
|
10 |
"RoBERTa": transformers.pipeline("sentiment-analysis", model="roberta-base-openai-detector"),
|
11 |
}
|
12 |
|