File size: 246 Bytes
f359f97
6a243b1
 
25e1442
 
6a243b1
25e1442
6a243b1
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import streamlit as st 
from transformers import pipeline

st.title('Plataforma de Diálogos Participativos')

pipe = pipeline('sentiment-analysis')
text = st.text_area('Añade el texto a evaluar')

if text:
    out = pipe(text)
    st.json(out)