ML-with-Rajibul commited on
Commit
8f04330
·
verified ·
1 Parent(s): e4b0190

Update MT.py

Browse files
Files changed (1) hide show
  1. MT.py +1 -1
MT.py CHANGED
@@ -8,7 +8,7 @@ client_secret = 'c0f56895d29f434cbeac4309d0b42d05'
8
  client_credentials_manager = SpotifyClientCredentials(client_id=client_id, client_secret=client_secret)
9
  sp = spotipy.Spotify(client_credentials_manager=client_credentials_manager)
10
 
11
- def search_song_by_emotion(emotion):
12
  # Define a mapping of emotions to search keywords
13
  emotion_keywords = {
14
  "neutral": ["raga des sarangi", "raga malkauns", "raga bhairav", "raga rageshri"],
 
8
  client_credentials_manager = SpotifyClientCredentials(client_id=client_id, client_secret=client_secret)
9
  sp = spotipy.Spotify(client_credentials_manager=client_credentials_manager)
10
 
11
+ def get_music(emotion):
12
  # Define a mapping of emotions to search keywords
13
  emotion_keywords = {
14
  "neutral": ["raga des sarangi", "raga malkauns", "raga bhairav", "raga rageshri"],