Sahar7888 commited on
Commit
aa4fc13
·
verified ·
1 Parent(s): 7c61031

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 Abalysis"
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