kmaurinjones commited on
Commit
3b3ae02
1 Parent(s): 91c7d05

Update songscope.py

Browse files
Files changed (1) hide show
  1. songscope.py +2 -0
songscope.py CHANGED
@@ -232,8 +232,10 @@ def find_artist(artist_name: str) -> str:
232
  st.write(artist_urls)
233
 
234
  if artist_name in artist_urls:
 
235
  return f"https://www.azlyrics.com/{artist_links[artist_urls.index(artist_name)]}"
236
  else:
 
237
  min_id = None
238
  max_sim = -100
239
  for id, name in enumerate(artist_urls):
 
232
  st.write(artist_urls)
233
 
234
  if artist_name in artist_urls:
235
+ st.write("NAME IN URLS")
236
  return f"https://www.azlyrics.com/{artist_links[artist_urls.index(artist_name)]}"
237
  else:
238
+ st.write("NAME NOT IN URLS")
239
  min_id = None
240
  max_sim = -100
241
  for id, name in enumerate(artist_urls):