Skip to content

Added youtube search option for emotion#67

Open
purvamehta2007 wants to merge 2 commits into
SGCODEX:contributionfrom
purvamehta2007:contribution
Open

Added youtube search option for emotion#67
purvamehta2007 wants to merge 2 commits into
SGCODEX:contributionfrom
purvamehta2007:contribution

Conversation

@purvamehta2007

@purvamehta2007 purvamehta2007 commented Jul 31, 2025

Copy link
Copy Markdown

Addition:
When an emotion is detected and a YouTube search is triggered by clicking the button, or when the user switches back to emotion detection mode again by clicking on the button, the app currently shows no visual feedback. This may confuse users during slow network conditions. Added a loading spinner or progress indicator to improve user experience.

Tasks done:

Using st.spinner("Loading video suggestions...") during the YouTube search and video fetch
Using another st.spinner("Switching back to emotion detection...") when user resets the flow
Ensuring the spinner wraps the requests.get() and/or the state reset logic
Optionally i used st.success() or st.info() after the transition is complete

@vercel

vercel Bot commented Jul 31, 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 Jul 31, 2025 7:34pm

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