Spaces:
Sleeping
Sleeping
File size: 714 Bytes
d298ec1 ad14bae d298ec1 b8278cf 7f633c4 b8278cf d298ec1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
---
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
1. Upload a photo (PNG/JPG).
2. Choose how many classes to display (Top‑K).
3. 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-50`
- `facebook/convnext-tiny-224`
> Notes: The classifier is trained on ImageNet‑1k; some objects (logos, memes, niche items) may not map cleanly to labels. |