utkarsh2299 commited on
Commit
d366fc9
·
1 Parent(s): 3477695

Update app.py

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