Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -160,7 +160,7 @@ if submit_button and len(user_input.split()) > 5:
|
|
160 |
songs_df = pd.read_csv('./music_mental_health.csv')
|
161 |
|
162 |
# Suggest songs
|
163 |
-
suggested_songs = match_songs_with_sentiment(sentiment_label, sentiment_score, inputVector, 0.
|
164 |
suggested_songs['similarity'] = suggested_songs['similarity'].apply(lambda x: x.numpy()[0][0])
|
165 |
|
166 |
# Styling for the suggested songs display
|
|
|
160 |
songs_df = pd.read_csv('./music_mental_health.csv')
|
161 |
|
162 |
# Suggest songs
|
163 |
+
suggested_songs = match_songs_with_sentiment(sentiment_label, sentiment_score, inputVector, 0.0003, songs_df)
|
164 |
suggested_songs['similarity'] = suggested_songs['similarity'].apply(lambda x: x.numpy()[0][0])
|
165 |
|
166 |
# Styling for the suggested songs display
|