sentivity commited on
Commit
7327133
·
verified ·
1 Parent(s): 80aaab0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def predict_sentiment(text):
65
  break
66
  negative_score = scores[negative_index]
67
 
68
- return float(negative_score)*100
69
 
70
 
71
 
 
65
  break
66
  negative_score = scores[negative_index]
67
 
68
+ return float(negative_score.item())*100
69
 
70
 
71