Upload app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def get_artist_recommendations(client_id, client_secret, client_redirect_uri, ar
|
|
15 |
"SPOTIPY_CLIENT_SECRET": client_secret,
|
16 |
"SPOTIPY_REDIRECT_URI": client_redirect_uri
|
17 |
}
|
18 |
-
artist_recommender.initialize_spotify_client(creds)
|
19 |
sp = artist_recommender.sp
|
20 |
try:
|
21 |
_ = sp.current_user()
|
|
|
15 |
"SPOTIPY_CLIENT_SECRET": client_secret,
|
16 |
"SPOTIPY_REDIRECT_URI": client_redirect_uri
|
17 |
}
|
18 |
+
artist_recommender.initialize_spotify_client(creds, isfile=False)
|
19 |
sp = artist_recommender.sp
|
20 |
try:
|
21 |
_ = sp.current_user()
|