demo-app / app.py
rajaramesh's picture
Update app.py
2e509f2 verified
raw
history blame
178 Bytes
import streamlit as st
from transformers import pipeline
pipe=pipeline("sentiment-analysis")
text=st.text_area("enter your review")
if text:
out=pipe(text)
st.json(out)