madani commited on
Commit
e29f2d2
1 Parent(s): a8e2720

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -5,5 +5,4 @@ from transformers import pipeline
5
  classifier = pipeline("sentiment-analysis")
6
  text = st.text_input("Input a text:")
7
  response = classifier(text)
8
- st.write(response['label'])
9
- st.write(response['score'])
 
5
  classifier = pipeline("sentiment-analysis")
6
  text = st.text_input("Input a text:")
7
  response = classifier(text)
8
+ st.write(response)