Spaces:
Sleeping
Sleeping
File size: 280 Bytes
8f42cf8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
import streamlit as st
from transformers import pipeline
st.title("Predict Emotion of Social Media Post")
pipeline = pipeline("text-classification", "Jingni/transient_data" )
text = st.write("Enter a social media post:")
if text:
out =pipeline(text)
st.json(out)
|