5653935 8099655 0d9ea28 178d48c
1
2
3
4
5
6
import streamlit as st from transformers import pipeline text = st.text_area('enter some text:') classifier = pipeline("text-classification", model="j-hartmann/emotion-english-distilroberta-base", return_all_scores=True) classifier(text)