Demo / app.py
Kos91's picture
Update app.py
9427044 verified
raw
history blame contribute delete
189 Bytes
import streamlit as st
from transformers import pipeline
pipe = pipeline("sentiment-analysis")
text = st.text_area("Enter some text! ")
if text:
out = pipe(text)
st.markdown(out)