sentiment / 1_sentiment_skeleton.py
zahraanaji's picture
Upload 1_sentiment_skeleton.py
f3aa227 verified
raw
history blame
92 Bytes
from transformers import pipeline
pipe = pipeline("sentiment-analysis")
print(pipe(input))