Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit f33c45c

Browse files
Update sentiment.py
1 parent c74cf2f commit f33c45c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/sentiment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def detect_sentiment(text):
1010
if polarity > 0:
1111
sentiment = 'Positive'
1212
elif polarity < 0:
13-
sentiment = 'Negative'
13+
sentiment = 'Positive'
1414
else:
1515
sentiment = 'Neutral'
1616
sentiment_analysis.append((sentence, sentiment))

0 commit comments

Comments
 (0)