Instructions to use hanphilc/emotion-detector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hanphilc/emotion-detector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hanphilc/emotion-detector") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("hanphilc/emotion-detector") model = AutoModelForImageClassification.from_pretrained("hanphilc/emotion-detector") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
43121c6 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:912fad5346a98e013adce19d9d12720e53018c3f5975de008502e1de7c594914
size 5201
|