import streamlit as st | |
from transformers import pipeline | |
# Title and Subtitle | |
st.title('Sentiment Analysis Application by using BERT') | |
pipe=pipeline(model="Satyajithchary/Sentiment_Analysis_using_BERT_With_10000_Samples") | |
text=st.text_area('Enter your text') | |
if text: | |
out=pipe(text) | |
st.table(out) |