TM9450's picture
Update app.py
213f85c
raw
history blame
232 Bytes
from transformers import pipeline
vision_classifier = pipeline(task="image-classification")
result = vision_classifier(images="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/pipeline-cat-chonk.jpeg")