CoolFace
Apppublic

cammcewan/MyFirstSpace

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes
app.py9 linesDownload Raw Back to root
1import streamlit as st2from transformers import pipeline 3 4pipe = pipeline('sentiment-analysis')5text = st.text_area('enter some new text')6 7if next:8    out = pipe(text)9    st.json(out)