Spaces:
Runtime error
Runtime error
Update model.py
#2
by navanv22 - opened
model.py
CHANGED
|
@@ -14,7 +14,7 @@ def playlist_model(url, model, max_gen=3, same_art=5):
|
|
| 14 |
try:
|
| 15 |
log.append('Start logging')
|
| 16 |
uri = url.split('/')[-1].split('?')[0]
|
| 17 |
-
stream = open("Spotify/
|
| 18 |
spotify_details = yaml.safe_load(stream)
|
| 19 |
auth_manager = SpotifyClientCredentials(
|
| 20 |
client_id=spotify_details['Client_id'], client_secret=spotify_details['client_secret'])
|
|
|
|
| 14 |
try:
|
| 15 |
log.append('Start logging')
|
| 16 |
uri = url.split('/')[-1].split('?')[0]
|
| 17 |
+
stream = open("Spotify/Spotify5.yaml")
|
| 18 |
spotify_details = yaml.safe_load(stream)
|
| 19 |
auth_manager = SpotifyClientCredentials(
|
| 20 |
client_id=spotify_details['Client_id'], client_secret=spotify_details['client_secret'])
|