Zack
makign app simpler
7b2bfe6
raw
history blame
191 Bytes
import streamlit as st
from transformers import pipeline
pipe = pipeline('sentiment-analysis')
text = st.text_area('enter your feelings here')
if text:
out = pipe(text)
st.json(out)