Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -177,7 +177,7 @@ def getPolarity(text):
|
|
177 |
'''
|
178 |
Create a function to get the polarity
|
179 |
'''
|
180 |
-
|
181 |
|
182 |
|
183 |
def getAnalysis(score):
|
|
|
177 |
'''
|
178 |
Create a function to get the polarity
|
179 |
'''
|
180 |
+
return TextBlob(text).sentiment.polarity
|
181 |
|
182 |
|
183 |
def getAnalysis(score):
|