AlekseyKorshuk commited on
Commit
df81345
1 Parent(s): 23359a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -129,4 +129,4 @@ if st.button("Run"):
129
  artist_dict = genius.artist(artist.id)['artist']
130
  artist_url = str(artist_dict['url'])
131
  model_name = artist_url[artist_url.rfind('/') + 1:].lower()
132
- st.markdown(model_html.format(USER_PROFILE=artist.image_url, USER_NAME=artist.name, USER_HANDLE=model_name ), unsafe_allow_html=True)
 
129
  artist_dict = genius.artist(artist.id)['artist']
130
  artist_url = str(artist_dict['url'])
131
  model_name = artist_url[artist_url.rfind('/') + 1:].lower()
132
+ st.markdown(model_html.replace("USER_PROFILE",artist.image_url).replace("USER_NAME",artist.name).replace("USER_HANDLE",model_name), unsafe_allow_html=True)