dancingninjas's picture
Update app.py
2c6eb42
raw
history blame
251 Bytes
import streamlit as st
from transformers import pipeline
# Title and Subtitle
st.title('Sentiment Analysis App')
pipe=pipeline(model="dancingninjas/sentiment-model")
text=st.text_area('Enter your text')
if text:
out=pipe(text)
st.table(out)