Spaces:
Running
Running
A newer version of the Gradio SDK is available: 6.28.0
metadata
title: Image Classification
sdk: gradio
emoji: 👁
colorFrom: green
colorTo: purple
sdk_version: 5.46.0
Image Classification — Gradio + Hugging Face
This Space wraps a pretrained image classifier (Vision Transformer) with a simple Gradio UI.
How to use
- Upload a photo (PNG/JPG).
- Choose how many classes to display (Top‑K).
- Click Classify to see the predicted labels with confidence scores.
Model
- Default:
google/vit-base-patch16-224(ImageNet‑1k) - Alternatives that work on CPU Basic:
microsoft/resnet-50facebook/convnext-tiny-224
Notes: The classifier is trained on ImageNet‑1k; some objects (logos, memes, niche items) may not map cleanly to labels.