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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -12,6 +12,7 @@ knn_model = joblib.load('knn_model.joblib')
12
 
13
  # Load the dataset
14
  df = pd.read_csv('df1.csv')
 
15
 
16
  # Preprocess for KNN
17
  audio_feature_columns = ['danceability', 'energy', 'key', 'loudness', 'mode', 'speechiness',
 
12
 
13
  # Load the dataset
14
  df = pd.read_csv('df1.csv')
15
+ df = df.dropna()
16
 
17
  # Preprocess for KNN
18
  audio_feature_columns = ['danceability', 'energy', 'key', 'loudness', 'mode', 'speechiness',