Update app.py
Browse files
app.py
CHANGED
@@ -100,9 +100,9 @@ def main():
|
|
100 |
entity_result = entity_analyzer(text)
|
101 |
st.json(entity_result)
|
102 |
if st.checkbox("Show Sentiment Analysis"):
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
#Text Corrections
|
107 |
if st.checkbox("Spell Corrections"):
|
108 |
st.success(TextBlob(text).correct())
|
|
|
100 |
entity_result = entity_analyzer(text)
|
101 |
st.json(entity_result)
|
102 |
if st.checkbox("Show Sentiment Analysis"):
|
103 |
+
blob = TextBlob(text)
|
104 |
+
result_sentiment = blob.sentiment
|
105 |
+
st.success(result_sentiment)
|
106 |
#Text Corrections
|
107 |
if st.checkbox("Spell Corrections"):
|
108 |
st.success(TextBlob(text).correct())
|