transactify / main.py
ai-venkat-r's picture
tech: transactify base changes
f82b66a
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)