CoolFace
Apppublic

cjlise/sentiments

sourceHugging Faceupdated 5y agoView on Hugging Face
0likes
app.py11 linesDownload Raw Back to root
1import streamlit as st2from transformers import pipeline3 4pipe = pipeline("sentiment-analysis")5text = st.text_area("Enter some text!") 6 7if text: 8   out = pipe(text)9   st.json(out)10   11