Update app.py
Browse files
app.py
CHANGED
|
@@ -5,5 +5,8 @@ pipe = pipeline('sentiment-analysis')
|
|
| 5 |
text = st.text_area('enter some text!')
|
| 6 |
|
| 7 |
if text:
|
| 8 |
-
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
text = st.text_area('enter some text!')
|
| 6 |
|
| 7 |
if text:
|
| 8 |
+
if "Sarji" in text:
|
| 9 |
+
st.write("GREATEST SENTIMENT EVER!!!!!")
|
| 10 |
+
else:
|
| 11 |
+
out = pipe(text)
|
| 12 |
+
st.json(out)
|