File size: 763 Bytes
11f3316
 
 
 
 
 
 
22dae8f
 
11f3316
 
 
 
 
 
 
 
 
 
 
c5ae7ff
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
title: StyleSquirrel
emoji: 🐿️
colorFrom: purple
colorTo: blue
sdk: gradio
app_file: app.py
tags:
  - not-for-all-audiences
pinned: false
license: mit
---

Drop or paste an image → get style tags and see nearest training images.

**How it works**
- CLIP ViT-B/32 embeds the image
- Trained projector maps to “style space”
- FAISS finds nearest training images
- We tally their style tags and normalize to scores in [0,1]

---

# StyleSquirrel

Nearest-neighbor style tagger demo.  
Drag an image to see predicted style tags and similar training images.

⚠️ **Note on large model files**  
If you clone this repository locally, you must pull the big model and FAISS index files with Git LFS before running:

```bash
git lfs install
git lfs pull