Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -1,20 +1,33 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
## Try it now — just type your mood and listen to your custom track!
|
|
|
1 |
+
---
|
2 |
+
title: Emotion2Music-AI
|
3 |
+
emoji: 🎵
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: pink
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: 3.50.2
|
8 |
+
app_file: app.py
|
9 |
+
pinned: true
|
10 |
+
license: mit
|
11 |
+
thumbnail: >-
|
12 |
+
https://cdn-uploads.huggingface.co/production/uploads/67d65b3a67cb21c230aced47/_Umu6NwOW5RENU1qZkxn4.png
|
13 |
+
short_description: This AI-powered app analyzes your mood from a short sentence
|
14 |
+
---
|
15 |
+
# Emotion2Music AI
|
16 |
+
|
17 |
+
**Turn your feelings into music!**
|
18 |
+
|
19 |
+
AI-powered app analyzes your mood from a text description and instantly generates a short, custom music clip that matches your emotional tone.
|
20 |
+
## How It Works
|
21 |
+
|
22 |
+
1. You describe how you're feeling (e.g. *“I feel hopeful but a little sad”*)
|
23 |
+
2. The app detects the most likely emotion using a Hugging Face model.
|
24 |
+
3. Based on the emotion, it generates a fitting music clip using AI.
|
25 |
+
4. You can listen, download, and share the generated audio.
|
26 |
+
|
27 |
+
## Powered By
|
28 |
+
|
29 |
+
- [j-hartmann/emotion-english-distilroberta-base](https://huggingface.co/j-hartmann/emotion-english-distilroberta-base) for emotion detection
|
30 |
+
- [facebook/musicgen-small](https://huggingface.co/facebook/musicgen-small) for text-to-music generation
|
31 |
+
- [Gradio](https://gradio.app/) for the web interface
|
32 |
+
|
33 |
## Try it now — just type your mood and listen to your custom track!
|