Team Ai
Apppublic

remotewith/tutorial_1

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