IshmamF commited on
Commit
84aee70
1 Parent(s): c669135

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -91,11 +91,11 @@ if submit_button and user_input.strip():
91
  sentiment_label, sentiment_score = sentiment_analyzer.analyze_sentiment(user_input)
92
  st.write(f"Sentiment: {sentiment_label}, Score: {sentiment_score:.2f}")
93
 
94
- suggested_songs = song_matcher.match_songs_with_sentiment(sentiment_label, sentiment_score, user_input, song_matcher)
95
 
96
  with st.container():
97
  st.markdown("<div class='song-list'>", unsafe_allow_html=True)
98
- st.write("Based on your mood, you might like these songs:")
99
  for index, row in suggested_songs.iterrows():
100
  song = row['song']
101
  artist = row['artist']
 
91
  sentiment_label, sentiment_score = sentiment_analyzer.analyze_sentiment(user_input)
92
  st.write(f"Sentiment: {sentiment_label}, Score: {sentiment_score:.2f}")
93
 
94
+ suggested_songs = song_matcher.match_songs_with_sentiment(sentiment_label, sentiment_score, user_input, 0.00625, song_matcher)
95
 
96
  with st.container():
97
  st.markdown("<div class='song-list'>", unsafe_allow_html=True)
98
+ st.write("Based on your vibe, you might like these songs:")
99
  for index, row in suggested_songs.iterrows():
100
  song = row['song']
101
  artist = row['artist']