Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -56,5 +56,5 @@ with st.spinner("Loading..."):
|
|
56 |
col1, _ , col2, col3 = st.columns([0.1, 0.05, 0.35, 0.5])
|
57 |
url = get_url(song['id'])
|
58 |
col1.image(url["image"])
|
59 |
-
col2.write(f"<b>{song[
|
60 |
col3.audio(url['sample'], format='audio/ogg', start_time=0)
|
|
|
56 |
col1, _ , col2, col3 = st.columns([0.1, 0.05, 0.35, 0.5])
|
57 |
url = get_url(song['id'])
|
58 |
col1.image(url["image"])
|
59 |
+
col2.write(f"<b>{song['name']}</b><br><span style='opacity: 0.75;'>{song['artists'][0]} \u25cf {format_duration(song['duration_ms'])}</span>", unsafe_allow_html=True)
|
60 |
col3.audio(url['sample'], format='audio/ogg', start_time=0)
|