Update app.py
Browse files
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
|
| 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 |
|