Spaces:
Runtime error
Runtime error
Commit
·
c073165
1
Parent(s):
7df2e2f
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def analyze(sentence):
|
|
18 |
# Get the polarity score for the sentence
|
19 |
polarity_score = blob.sentiment.polarity
|
20 |
|
21 |
-
#
|
22 |
if polarity_score > 0:
|
23 |
return "Positive"
|
24 |
elif polarity_score == 0:
|
|
|
18 |
# Get the polarity score for the sentence
|
19 |
polarity_score = blob.sentiment.polarity
|
20 |
|
21 |
+
# Return a result
|
22 |
if polarity_score > 0:
|
23 |
return "Positive"
|
24 |
elif polarity_score == 0:
|