import streamit as st from transformers import pipeline pipe = pipeline("Sentimental Analysis !!") text = st.text_Area("Enter some text...") if text: out=pipe(text) st.json(out)