|
|
--- |
|
|
title: Mood Font |
|
|
emoji: π¨ |
|
|
colorFrom: blue |
|
|
colorTo: gray |
|
|
sdk: gradio |
|
|
sdk_version: 5.44.1 |
|
|
app_file: app.py |
|
|
pinned: true |
|
|
license: mit |
|
|
short_description: Describe a mood, a scene, or a feeling and get matching font |
|
|
--- |
|
|
|
|
|
# Key Features |
|
|
**π Comprehensive Font Dataset (32 Fonts)** |
|
|
|
|
|
- Serif fonts: Playfair Display, Crimson Text, Lora, Merriweather |
|
|
- Sans-serif fonts: Inter, Roboto, Montserrat, Poppins, Open Sans |
|
|
- Script fonts: Dancing Script, Great Vibes, Pacifico, Sacramento |
|
|
- Display fonts: Abril Fatface, Creepster, Bangers, Righteous |
|
|
- Handwriting fonts: Amatic SC, Shadows Into Light, Indie Flower |
|
|
- Monospace fonts: Source Code Pro |
|
|
|
|
|
**π¨ Smart Font Matching** |
|
|
Each font has detailed descriptions covering: |
|
|
- Aesthetic qualities: elegant, modern, playful, bold |
|
|
- Emotional associations: romantic, professional, scary, friendly |
|
|
- Use cases: wedding invitations, tech startups, children's books |
|
|
|
|
|
**π Dynamic UI Theming** |
|
|
- Font imports: Automatically loads Google Fonts |
|
|
- UI adaptation: Different fonts applied to headings, inputs, buttons |
|
|
- Smooth transitions: Animated font changes |
|
|
|
|
|
**π‘ Example Use Cases** |
|
|
- "Elegant wedding invitation" β Dancing Script, Great Vibes |
|
|
- "Modern tech startup" β Inter, Roboto, Montserrat |
|
|
- "Horror movie poster" β Creepster, Gothic fonts |
|
|
- "Children's book" β Fredoka One, Amatic SC |
|
|
- "Academic paper" β Crimson Text, Libre Baskerville |
|
|
|
|
|
**How It Works** |
|
|
- Input: User describes a mood/scene |
|
|
- Embedding: EmbeddingGemma converts text to vectors |
|
|
- Matching: Finds fonts with similar semantic meaning |
|
|
- Display: Shows font samples with pangram text |
|
|
- Theming: Updates entire UI with matched fonts |