first-demo / app.py
damiandata's picture
Update app.py
e49c8c9 verified
raw
history blame contribute delete
223 Bytes
import streamlit as st
from transformers import pipeline
pipe = pipeline( 'sentiment-analysis' )
text = st.text_area('Ingresa un comentario para que damian.app lo clasifique')
if text:
out = pipe(text)
st.json(out)