sentiment / sentiment_skeleton.py
hexapi's picture
Upload sentiment_skeleton.py
45d31ac verified
raw
history blame
92 Bytes
from transformers import pipeline
pipe = pipeline("sentiment-analysis")
print(pipe(input))