ca9e7bd
1
2
3
4
5
6
from transformers import pipeline def sentiment_analyser(text): sent = pipeline("sentiment-analysis",model="siebert/sentiment-roberta-large-english") return sent(text)