Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def get_song_lyrics(artist_name: str) -> str:
|
|
| 38 |
most_recent_album = albums['items'][0]
|
| 39 |
|
| 40 |
# Return the name of the most recent album
|
| 41 |
-
return f"The most recent album of the {artist_name} is {most_recent_album['name']}
|
| 42 |
else:
|
| 43 |
return "No albums found for this artist."
|
| 44 |
else:
|
|
|
|
| 38 |
most_recent_album = albums['items'][0]
|
| 39 |
|
| 40 |
# Return the name of the most recent album
|
| 41 |
+
return f"The most recent album of the {artist_name} is {most_recent_album['name']}"
|
| 42 |
else:
|
| 43 |
return "No albums found for this artist."
|
| 44 |
else:
|