-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstreamlit_app.py
More file actions
61 lines (51 loc) · 1.18 KB
/
streamlit_app.py
File metadata and controls
61 lines (51 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import streamlit as st
st.set_page_config(
page_title="Spotify Track Recommendation Engine",
page_icon="🎵",
layout="wide",
)
st.title("💿 Spotify Tracks")
st.subheader("An interactive application for exploring and analyzing\
Spotify track data.")
# ---------- Define pages ----------
home = st.Page(
"pages/home.py",
title="Home",
icon=":material/house:"
)
eda = st.Page(
"pages/eda.py",
title="Exploratory Data Analysis",
icon=":material/analytics:"
)
hypothesis1 = st.Page(
"pages/hypothesis1.py",
title="Hypothesis 1",
icon=":material/biotech:"
)
hypothesis2 = st.Page(
"pages/hypothesis2.py",
title="Hypothesis 2",
icon=":material/biotech:"
)
hypothesis3 = st.Page(
"pages/hypothesis3.py",
title="Hypothesis 3",
icon=":material/biotech:"
)
clustering = st.Page(
"pages/clustering.py",
title="Clustering",
icon=":material/bubble_chart:"
)
# ---------- Navigation ----------
nav = st.navigation(
{
"Main": [home],
"EDA": [eda],
"Analysis": [hypothesis1, hypothesis2, hypothesis3],
"Clusters": [clustering],
}
)
# ---------- REQUIRED ----------
nav.run()