Spaces:
Sleeping
Sleeping
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) | |