transactify / main.py
Ananthakrishnan12's picture
transactify base changes (#2)
8ac6150 verified
raw
history blame
226 Bytes
# hello_world.py
from transformers import pipeline
# Load a pre-trained sentiment-analysis pipeline
classifier = pipeline("sentiment-analysis")
# Test the classifier
result = classifier("I love Hugging Face!")
print(result)