Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def find_similar_songs(query: str)-> str:
|
|
| 18 |
query: the song or artist that the user would like to find songs or artists similar to
|
| 19 |
"""
|
| 20 |
saerch_terms = f"songs like {query} or if you like {query}."
|
| 21 |
-
results = ddg
|
| 22 |
|
| 23 |
if not results:
|
| 24 |
return f"No results found for '{query}'."
|
|
|
|
| 18 |
query: the song or artist that the user would like to find songs or artists similar to
|
| 19 |
"""
|
| 20 |
saerch_terms = f"songs like {query} or if you like {query}."
|
| 21 |
+
results = ddg(search_terms)
|
| 22 |
|
| 23 |
if not results:
|
| 24 |
return f"No results found for '{query}'."
|