Spaces:
Sleeping
Sleeping
| title: Emotion2Music-AI | |
| emoji: 🎵 | |
| colorFrom: blue | |
| colorTo: pink | |
| sdk: gradio | |
| sdk_version: 5.30.0 | |
| app_file: app.py | |
| pinned: true | |
| license: mit | |
| thumbnail: >- | |
| https://cdn-uploads.huggingface.co/production/uploads/67d65b3a67cb21c230aced47/_Umu6NwOW5RENU1qZkxn4.png | |
| short_description: This AI-powered app analyzes your mood from a short sentence | |
| # Emotion2Music AI | |
| **Turn your feelings into music!** | |
| AI-powered app analyzes your mood from a text description and instantly generates a short, custom music clip that matches your emotional tone. | |
| ## How It Works | |
| 1. You describe how you're feeling (e.g. *“I feel hopeful but a little sad”*) | |
| 2. The app detects the most likely emotion using a Hugging Face model. | |
| 3. Based on the emotion, it generates a fitting music clip using AI. | |
| 4. You can listen, download, and share the generated audio. | |
| ## Powered By | |
| - [j-hartmann/emotion-english-distilroberta-base](https://huggingface.co/j-hartmann/emotion-english-distilroberta-base) for emotion detection | |
| - [facebook/musicgen-small](https://huggingface.co/facebook/musicgen-small) for text-to-music generation | |
| - [Gradio](https://gradio.app/) for the web interface | |
| ## Try it now — just type your mood and listen to your custom track! |