saayedalam commited on
Commit
8345337
·
verified ·
1 Parent(s): 799a7c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -14,7 +14,11 @@ from Gradio_UI import GradioUI
14
 
15
  @tool
16
  def get_song_lyrics(song_name: str, artist_name: str) -> str:
17
- """Fetch lyrics from Genius based on song title and artist name."""
 
 
 
 
18
  genius_token = os.getenv("Genius_Lyrics")
19
  if not genius_token:
20
  return "Error: Genius API token not found."
 
14
 
15
  @tool
16
  def get_song_lyrics(song_name: str, artist_name: str) -> str:
17
+ """A tool that fetches lyrics from Genius based on the song title and artist name.
18
+ Args:
19
+ song_name: A string representing a valid name of a song.
20
+ artist_name: A string representing a valid name of a song.
21
+ """
22
  genius_token = os.getenv("Genius_Lyrics")
23
  if not genius_token:
24
  return "Error: Genius API token not found."