demo / app.py
arche4452's picture
Update app.py
415d5bb
raw
history blame contribute delete
179 Bytes
import streamlit as st
from transformers import pipeline
pipe = pipeline('sentiment-analysis')
text = st.text_area('Wirte a text')
if text:
out = pipe(text)
st.json(out)