brendabor commited on
Commit
6aab6dd
1 Parent(s): cbf102a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -39,9 +39,8 @@ lyrics = st.text_area("Input the lyrics of the song here:")
39
  # Input fields for audio features
40
  st.header('Enter Audio Features')
41
  audio_features = []
 
42
  for feature_name in df.columns:
43
- df = df.drop(['mood', 'lyrics', 'mood_cats', 'track_artist', 'track_name','Unnamed: 0', 'lyrics_filename', 'analysis_url', 'track_href', "type", "id", "uri", 'tempo',
44
- 'duration_ms', 'time_signature', 'clean_lyrics'], axis=1)
45
  feature = st.number_input(f"Enter value for {feature_name}:", step=0.01)
46
  audio_features.append(feature)
47
 
 
39
  # Input fields for audio features
40
  st.header('Enter Audio Features')
41
  audio_features = []
42
+ df = df.drop([ 'track_artist', 'track_name','Unnamed: 0', 'lyrics_filename', 'analysis_url', 'track_href', "type", "id", "uri"] axis=1)
43
  for feature_name in df.columns:
 
 
44
  feature = st.number_input(f"Enter value for {feature_name}:", step=0.01)
45
  audio_features.append(feature)
46