| 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 is an AI-powered virtual stylist that analyzes clothing in photos and generates personalized fashion advice based on your body type, face shape, gender, and occasion.
- πΈ Upload outfit photos for style analysis
- π§ YOLOS-Fashionpedia for clothing detection
- πͺ Optional background removal (remove.bg API)
- π¬ Tailored tips using
google/flan-t5-largelanguage model - π§ββοΈ Personalized for body type, face shape, gender, and events
- β‘ Gradio interface for instant styling suggestions
- Gradio β User interface
- YOLOS β Object detection (Fashionpedia dataset)
- FLAN-T5 β Text generation for fashion tips
- remove.bg API β Optional background removal
- Hugging Face Spaces for hosting
π Try it here: StyleSavvy on Hugging Face
git clone https://github.com/Munazzah-Rakhangi/StyleSavvy.git
cd StyleSavvyCreate a virtual environment:
python -m venv venvActivate the environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
pip install -r requirements.txtCreate a .env file:
REMOVE_BG_API_KEY=your_api_key_hereOr add it as a Hugging Face secret if running on Spaces.
python app.pypython3 test_llm.pyThen open the local Gradio link in your browser.
- Upload an outfit photo that you want to analyze.
- Select styling parameters from the dropdown menus:
- Body Type:
Slim,Athletic,Curvy,Plus-size - Face Shape:
Oval,Round,Square,Heart - Gender:
Male,Female - Occasion: (e.g.,
Wedding,Casual,Business, etc.)
- Body Type:
- Click Generate Style Tips.
- Review the personalized style tips and clothing analysis generated by the app.
β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.
Feel free to open issues or pull requests!