Emerson commited on
Commit
2e46b5c
·
1 Parent(s): a8500ee

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ importar streamlit como st
2
+ de la tubería de importación de transformadores
3
+ st . title ( 'Ejemplo en Cara Abrazándose' )
4
+ pipe = pipeline ( 'análisis de sentimiento' )
5
+ texto = st . text_area ( 'ingresar texto' )
6
+ si texto :
7
+ out = pipe ( texto )
8
+ st . json ( fuera )