AlekseyKorshuk commited on
Commit
8ba1705
1 Parent(s): 11c086b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -109,4 +109,6 @@ genius = lyricsgenius.Genius(TOKEN)
109
 
110
  if st.button("Run"):
111
  with st.spinner(text=f"Downloading the model by {artist_name }..."):
112
- artist = genius.search_artist(artist_name, max_songs=0, get_full_info=False)
 
 
 
109
 
110
  if st.button("Run"):
111
  with st.spinner(text=f"Downloading the model by {artist_name }..."):
112
+ artist = genius.search_artist(artist_name, max_songs=0, get_full_info=False)
113
+ if artist is not None:
114
+ st.image(artist.image_url, use_column_width=True)