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