File size: 1,576 Bytes
bbdab36
afb91b1
 
 
bbdab36
 
 
 
 
afb91b1
bbdab36
 
 
afb91b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
title: StyleSavvy
emoji: πŸ†
colorFrom: gray
colorTo: purple
sdk: gradio
sdk_version: 5.29.0
app_file: app.py
pinned: false
short_description: Style Savvy - AI Style Fashion Consultant
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

# πŸ‘— StyleSavvy β€” AI Fashion Consultant

StyleSavvy is an AI-powered virtual stylist that uses computer vision and natural language generation to give personalized fashion advice.

## ✨ Features
- Detects clothing from uploaded photos using YOLOS-Fashionpedia
- Removes background for better detection (optional)
- Provides tailored styling tips based on:
  - Body type
  - Face shape
  - Gender
  - Occasion
- Uses `google/flan-t5-large` to generate expert-level suggestions

## πŸ“Έ How to Use
1. Upload a clear photo of your outfit
2. Select your body type, face shape, and gender
3. Enter the event or occasion
4. Click **Generate Style Tips**
5. Enjoy your personalized fashion advice! πŸͺž

## πŸ› οΈ Tech Stack
- Gradio UI
- Hugging Face Transformers
- YOLOS object detection
- FLAN-T5 language model
- remove.bg API for optional background removal

## 🧠 Example Use Case
> β€œA curvy woman with a round face going to a summer wedding”  
> β†’ StyleSavvy suggests breathable floral fabrics, statement earrings, and pastel tones that match the event ambiance.

## πŸ” API Key
Make sure to add a Hugging Face **Secret**:
- `REMOVE_BG_API_KEY`: your remove.bg key

---

πŸš€ Try it live: [StyleSavvy on Hugging Face](https://huggingface.co/spaces/Munazz/StyleSavvy)