saayedalam commited on
Commit
099502e
·
verified ·
1 Parent(s): 78fb885

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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