Demo_project / app.py
jaishreegoyal's picture
Update app.py
9207599
raw
history blame contribute delete
223 Bytes
import streamlit as st
from transformers import pipeline
model=pipeline("sentiment-analysis")
text=st.text_area("enter your review i will tell sentiment score of this")
if text:
output=model(text)
st.json(output)