import streamlit as st from transformers import pipeline Nombre_modelo = 'pysentimiento/robertuito-sentiment-analysis' st.title("hola mundo") Clasificador = pipeline('sentiment-analysis', model = Nombre_modelo,device='cuda') Res=Cla("sundays are good day for relaxing")