Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,10 @@ from bs4 import BeautifulSoup #for parsing
|
|
| 14 |
|
| 15 |
@tool
|
| 16 |
def find_the_song(arg1: str) -> str:
|
| 17 |
-
"""A tool that finds the song name, artist, Spotify URL, and lyrics based on a given verse.
|
|
|
|
|
|
|
|
|
|
| 18 |
try:
|
| 19 |
search_term = f"site:genius.com OR site:azlyrics.com song lyrics \"{arg1}\"" #Focus on specific lyric sites
|
| 20 |
search_tool = DuckDuckGoSearchTool()
|
|
|
|
| 14 |
|
| 15 |
@tool
|
| 16 |
def find_the_song(arg1: str) -> str:
|
| 17 |
+
"""A tool that finds the song name, artist, Spotify URL, and lyrics based on a given verse.
|
| 18 |
+
Args: arg1: a verse of a song or words that are refrencing a song.
|
| 19 |
+
"""
|
| 20 |
+
|
| 21 |
try:
|
| 22 |
search_term = f"site:genius.com OR site:azlyrics.com song lyrics \"{arg1}\"" #Focus on specific lyric sites
|
| 23 |
search_tool = DuckDuckGoSearchTool()
|