Skip to content

Add uplifting music option for "Sad" emotion + UI improvements#70

Open
Moe-phantom wants to merge 1 commit into
SGCODEX:contributionfrom
Moe-phantom:contribution
Open

Add uplifting music option for "Sad" emotion + UI improvements#70
Moe-phantom wants to merge 1 commit into
SGCODEX:contributionfrom
Moe-phantom:contribution

Conversation

@Moe-phantom

Copy link
Copy Markdown

Hi @SGCODEX 👋

I've added a new feature to enhance the user experience based on detected emotions:

✨ What's New:

  • When the emotion "Sad" is detected, users now get two options:
    • 🎵 Play Sad Music (mood-matching)
    • 🎵 Play Uplifting Music (mood-lifting)
  • For all other emotions, it continues to suggest relevant background music.
  • Improved code structure by refactoring repeated logic into a cleaner flow.
  • Switched to a cleaner method to search for the URL, no string decoding.

📁 Changes:

  • Added: code/new_models/app_local_streamlit_uplifting_music.py ( my updated version)

I tested locally, and it works smoothly with Streamlit and WebRTC.

Would love to hear your feedback! 🙌

@vercel

vercel Bot commented Aug 4, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
music-recommendation-using-facial-expressions ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 4, 2025 2:47pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant