Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -34,7 +34,8 @@ def get_song_lyrics(song_name:str, artist_name:str)-> str: #it's import to speci
|
|
| 34 |
else:
|
| 35 |
return "Song not found."
|
| 36 |
except Exception as e:
|
| 37 |
-
return f"Error fetching song lyrics of the {song_name} by {artist_name}: {e}"
|
|
|
|
| 38 |
|
| 39 |
|
| 40 |
@tool
|
|
|
|
| 34 |
else:
|
| 35 |
return "Song not found."
|
| 36 |
except Exception as e:
|
| 37 |
+
return f"Error fetching song lyrics of the {song_name} by {artist_name}: {str(e)}"
|
| 38 |
+
|
| 39 |
|
| 40 |
|
| 41 |
@tool
|