Stellajin916 commited on
Commit
bb5fa1c
·
verified ·
1 Parent(s): fea2d22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def analyze(text):
72
  f"Prediction: {sentiment_label}\n\n"
73
  f"Sentiment Scores:\n"
74
  f"Positive: {pos_prob:.2f}\n"
75
- f"Neutral: {1 - abs(pos_prob - neg_prob):.2f} (estimated)\n"
76
  f"Negative: {neg_prob:.2f}"
77
  )
78
 
 
72
  f"Prediction: {sentiment_label}\n\n"
73
  f"Sentiment Scores:\n"
74
  f"Positive: {pos_prob:.2f}\n"
75
+ f"Neutral: {1 - abs(pos_prob - neg_prob):.2f} \n"
76
  f"Negative: {neg_prob:.2f}"
77
  )
78