brendabor commited on
Commit
46f7c5a
1 Parent(s): 9652cc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -42,9 +42,6 @@ st.title('KNN Recommender App')
42
  # Get song index from user input
43
  song_index_to_recommend = st.number_input('Enter song index:', min_value=0, max_value=len(df)-1, value=0)
44
 
45
- # Combine emotion and audio features for recommendation
46
- # combined_features = np.concatenate([emotion, audio_features_scaled_knn[song_index_to_recommend]])
47
-
48
  # Get KNN recommendations
49
  knn_recs = recommend_knn(song_index_to_recommend)
50
 
 
42
  # Get song index from user input
43
  song_index_to_recommend = st.number_input('Enter song index:', min_value=0, max_value=len(df)-1, value=0)
44
 
 
 
 
45
  # Get KNN recommendations
46
  knn_recs = recommend_knn(song_index_to_recommend)
47