halejosm commited on
Commit
bf9ae69
1 Parent(s): d7d9510

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -1,3 +1,9 @@
1
  import streamlit as st
 
2
 
3
- st.title("hola mundo")
 
 
 
 
 
 
1
  import streamlit as st
2
+ from transformers import pipeline
3
 
4
+ Nombre_modelo = 'pysentimiento/robertuito-sentiment-analysis'
5
+
6
+ st.title("hola mundo")
7
+
8
+ Clasificador = pipeline('sentiment-analysis', model = Nombre_modelo,device='cuda')
9
+ Res=Cla("sundays are good day for relaxing")