Spaces:
Sleeping
Sleeping
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) | |