MichaelP719 commited on
Commit
02bb6ca
·
verified ·
1 Parent(s): e0f5005

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.run(search_terms, max_results=6)
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}'."