max21226 commited on
Commit
fe81d1b
1 Parent(s): ec68713

Last update again

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,5 +1,5 @@
1
- import streamlit as st
2
  from transformers import pipeline
3
  classifier = pipeline("text-classification",model='bhadresh-savani/distilbert-base-uncased-emotion', return_all_scores=True)
4
- prediction = classifier("I love using transformers. The best part is wide range of support and its easy to use", )
5
  st.write(prediction)
 
1
+ import streamlit as st
2
  from transformers import pipeline
3
  classifier = pipeline("text-classification",model='bhadresh-savani/distilbert-base-uncased-emotion', return_all_scores=True)
4
+ prediction = classifier("I hate the world", )
5
  st.write(prediction)