Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ pipe_new = pipeline(task="text-classification",
|
|
9 |
def sentiment_score(text):
|
10 |
return pipe_new(text)[0]['label']
|
11 |
# Create title, description and article strings
|
12 |
-
title = "Sentiment
|
13 |
description = "This model predicts the sentiment of the review as a number of stars (between 1 and 5) using nlptown/bert-base-multilingual-uncased-sentiment model"
|
14 |
# article = "This model predicts the sentiment of the review as a number of stars (between 1 and 5) using nlptown/bert-base-multilingual-uncased-sentiment model"
|
15 |
|
|
|
9 |
def sentiment_score(text):
|
10 |
return pipe_new(text)[0]['label']
|
11 |
# Create title, description and article strings
|
12 |
+
title = "Sentiment Analysis"
|
13 |
description = "This model predicts the sentiment of the review as a number of stars (between 1 and 5) using nlptown/bert-base-multilingual-uncased-sentiment model"
|
14 |
# article = "This model predicts the sentiment of the review as a number of stars (between 1 and 5) using nlptown/bert-base-multilingual-uncased-sentiment model"
|
15 |
|