demo-app / app.py
rajaramesh's picture
Create app.py
882ddc1 verified
raw
history blame
177 Bytes
import streamlit as st
from transfomers import pipeline
pipe=pipeline("sentiment-analysis")
text=st.text_area("enter your review")
if text:
out=pipe(text)
st.json(out)