hamsomp3 commited on
Commit
0011dce
·
verified ·
1 Parent(s): cc4e8d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -1
app.py CHANGED
@@ -1,3 +1,11 @@
1
  import streamlit as st
 
2
 
3
- st.title("Hola mundo")
 
 
 
 
 
 
 
 
1
  import streamlit as st
2
+ from transformers import pipeline
3
 
4
+ st.title("Hola mundo")
5
+
6
+
7
+ Nombre_Modelo='pysentimiento/robertuito-sentiment-analysis'
8
+ #no me gusta trabajar los domingos
9
+ Clasificador = pipeline('sentiment-analysis',model=Nombre_Modelo,device='cuda')
10
+ Res=Clasificador("Sundays are good days for relaxing")
11
+ print(Res)