DrDavis commited on
Commit
b8278cf
·
verified ·
1 Parent(s): a2ae8b4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -2
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
  title: ImageClassification
3
- emoji: 🐠
4
  colorFrom: green
5
  colorTo: purple
6
  sdk: gradio
@@ -8,5 +8,19 @@ sdk_version: 5.46.0
8
  app_file: app.py
9
  pinned: false
10
  ---
 
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: ImageClassification
3
+ emoji: 👁
4
  colorFrom: green
5
  colorTo: purple
6
  sdk: gradio
 
8
  app_file: app.py
9
  pinned: false
10
  ---
11
+ # Image Classification — Gradio + Hugging Face
12
 
13
+ This Space wraps a pretrained image classifier (Vision Transformer) with a simple Gradio UI.
14
+
15
+ ## How to use
16
+ 1. Upload a photo (PNG/JPG).
17
+ 2. Choose how many classes to display (Top‑K).
18
+ 3. Click **Classify** to see the predicted labels with confidence scores.
19
+
20
+ ### Model
21
+ - Default: `google/vit-base-patch16-224` (ImageNet‑1k)
22
+ - Alternatives that work on CPU Basic:
23
+ - `microsoft/resnet-50`
24
+ - `facebook/convnext-tiny-224`
25
+
26
+ > Notes: The classifier is trained on ImageNet‑1k; some objects (logos, memes, niche items) may not map cleanly to labels.