Spaces:
Sleeping
Sleeping
File size: 173 Bytes
3788fdf |
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)
|