Spaces:
Sleeping
Sleeping
Commit
·
c4dc8e0
1
Parent(s):
5708132
Update app.py
Browse files
app.py
CHANGED
@@ -111,8 +111,6 @@ text = st.text_area('Enter some text !!! (English text : D )')
|
|
111 |
if text:
|
112 |
out = sentiment_analysis_LR(text)
|
113 |
if out == 0:
|
114 |
-
|
115 |
-
st.json(out)
|
116 |
else:
|
117 |
-
|
118 |
-
st.json(out)
|
|
|
111 |
if text:
|
112 |
out = sentiment_analysis_LR(text)
|
113 |
if out == 0:
|
114 |
+
st.write('The sentence is negative')
|
|
|
115 |
else:
|
116 |
+
st.write('The sentence is positive')
|
|