Senti / app.py
gaurinath's picture
Create app.py
d2c8516 verified
raw
history blame contribute delete
126 Bytes
from transformers import pipeline
model = pipeline("sentiment-analysis")
result = model("I love Hugging Face!")
print(result)