shikharyashmaurya commited on
Commit
9c1bd57
1 Parent(s): 8396c32

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ classifier = pipeline("text-classification")
18
  input1 = st.text_input('Enter text here:', '')
19
 
20
  if input1:
21
- outputs1 = classifier(input)
22
  st.write('You entered:', input1)
23
  st.write('Emotion:', outputs1[0]['label'])
24
  st.write('Confidence in Emotion:', outputs1[0]['score'])
 
18
  input1 = st.text_input('Enter text here:', '')
19
 
20
  if input1:
21
+ outputs1 = classifier(input1)
22
  st.write('You entered:', input1)
23
  st.write('Emotion:', outputs1[0]['label'])
24
  st.write('Confidence in Emotion:', outputs1[0]['score'])