Learto commited on
Commit
de98e3d
·
1 Parent(s): 93fed63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def predict_sentiment(payload):
32
  if sentiment_prediction['label'] == 'positive':
33
  pos = sentiment_prediction['score']
34
  elif sentiment_prediction['label'] == 'neutral':
35
- neutr = sentiment_prediction.['score']
36
  elif sentiment_prediction['label'] == 'negative':
37
  neg = sentiment_prediction['score']
38
 
 
32
  if sentiment_prediction['label'] == 'positive':
33
  pos = sentiment_prediction['score']
34
  elif sentiment_prediction['label'] == 'neutral':
35
+ neutr = sentiment_prediction['score']
36
  elif sentiment_prediction['label'] == 'negative':
37
  neg = sentiment_prediction['score']
38