File size: 286 Bytes
2e46b5c |
1 2 3 4 5 6 7 8 |
importar streamlit como st
de la tubería de importación de transformadores
st . title ( 'Ejemplo en Cara Abrazándose' )
pipe = pipeline ( 'análisis de sentimiento' )
texto = st . text_area ( 'ingresar texto' )
si texto :
out = pipe ( texto )
st . json ( fuera ) |