import streamlit as st from transformers import pipeline # PIPE pipe = pipeline("sentiment-analysis") # TEXT text = st.text_area("Enter a comment") if text: # GET OUTPUT FROM AI out = pipe(text) st.json(out)