dancingninjas's picture
updating app.py
483dd11
raw
history blame
267 Bytes
import streamlit as st
from transformers import pipeline
# Title and Subtitle
st.title('Sentiment Analysis App')
pipe=pipeline(model="JS21/finetuning-sentiment-model-10000-samples")
text=st.text_area('Enter your text')
if text:
out=pipe(text)
st.table(out)