Spaces:
Runtime error
Runtime error
Last update again
Browse files
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
|
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)
|