Delete Introduction.py
Browse files- Introduction.py +0 -33
Introduction.py
DELETED
@@ -1,33 +0,0 @@
|
|
1 |
-
import streamlit as st
|
2 |
-
from streamlit import session_state as session
|
3 |
-
|
4 |
-
# Configure Streamlit page
|
5 |
-
st.set_page_config(page_title="Song Recommender🎶", page_icon="🎶")
|
6 |
-
|
7 |
-
st.title("Song Recommender🎶")
|
8 |
-
st.markdown("Click on '**Recommender**' from the side panel to get started.")
|
9 |
-
st.markdown("**How does it work?**")
|
10 |
-
st.markdown(
|
11 |
-
"The songs come from the [Spotify and Genius Track Dataset](https://www.kaggle.com/datasets/saurabhshahane/spotgen-music-dataset) on Kaggle. The [k-Nearest Neighbor algorithm](https://scikit-learn.org/stable/modules/neighbors.html) is used to obtain recommendations, i.e., the top songs which are closest in distance to the set of parameter inputs specified by you."
|
12 |
-
)
|
13 |
-
|
14 |
-
st.markdown("This app will recommend you songs based on the characteristics below.")
|
15 |
-
st.markdown(
|
16 |
-
"""
|
17 |
-
**Acousticness**: A metric describing the 'acousticness' of a song. 1.0 represents high confidence the song is acoustic.<br>
|
18 |
-
|
19 |
-
**Danceability**: Describes a song's suitability for dancing based on combination of elements including tempo, rhythm stability, beat strength, and overall regularity.
|
20 |
-
0.0 is least danceable and 1.0 is most danceable.<br>
|
21 |
-
|
22 |
-
**Energy**: Measure of intensity and activity. Often, energetic songs feel fast, loud, and noisy.<br>
|
23 |
-
|
24 |
-
**Liveness**: A metric describing the likelihood that a track is a recording of a live performance.<br>
|
25 |
-
|
26 |
-
**Speechiness**: How much lyrics the track contains.<br>
|
27 |
-
|
28 |
-
**Valence**: A metric ranging from 0.0 to 1.0 describing the positivity conveyed by a track.<br>
|
29 |
-
|
30 |
-
Source: [Spotify Web API](https://developer.spotify.com/documentation/web-api/reference)
|
31 |
-
""",
|
32 |
-
unsafe_allow_html=True,
|
33 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|