llama2-001 / app.py
psyferpunk's picture
Create app.py
e1022b9 verified
raw
history blame contribute delete
205 Bytes
from transformers import pipeline
classifier = pipeline("sentiment-analysis")
classifier(
[
"I've been waiting for a HuggingFace course my whole life.",
"I hate this so much!",
]
)