saadob12 commited on
Commit
aff4412
·
1 Parent(s): c6af715

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -3,6 +3,7 @@ from transformers import pipeline
3
 
4
  pipe = pipeline('sentiment-analysis')
5
  text = st.text_area('enter text')
6
- if text:
7
- out = pipe(text)
8
- st.json(out)
 
 
3
 
4
  pipe = pipeline('sentiment-analysis')
5
  text = st.text_area('enter text')
6
+
7
+ if text:
8
+ out = pipe(text)
9
+ st.json(out)