Spaces:
Sleeping
Sleeping
metadata
title: ImageClassification
emoji: 👁
colorFrom: green
colorTo: purple
sdk: gradio
sdk_version: 5.46.0
app_file: app.py
pinned: false
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.