Spaces:
Sleeping
Sleeping
Commit
路
d39db41
1
Parent(s):
026f480
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def add_youtube_links(recommendations, api_key):
|
|
31 |
if recommendation: # Si la recomendaci贸n no es una cadena vac铆a
|
32 |
song, artist = recommendation.split(" by ")
|
33 |
youtube_link = search_youtube(song, artist, api_key)
|
34 |
-
recommendations_with_links.append(f"{recommendation}
|
35 |
else:
|
36 |
recommendations_with_links.append("")
|
37 |
|
|
|
31 |
if recommendation: # Si la recomendaci贸n no es una cadena vac铆a
|
32 |
song, artist = recommendation.split(" by ")
|
33 |
youtube_link = search_youtube(song, artist, api_key)
|
34 |
+
recommendations_with_links.append(f"{recommendation} \n YouTube Link: {youtube_link}")
|
35 |
else:
|
36 |
recommendations_with_links.append("")
|
37 |
|