Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,9 @@
|
|
1 |
import streamlit as st
|
|
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
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")
|