-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.py
More file actions
25 lines (19 loc) · 795 Bytes
/
Copy pathmain.py
File metadata and controls
25 lines (19 loc) · 795 Bytes
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
import streamlit as st
def main():
st.image("static/coffee_header.jpg")
st.write("""
Welcome to the Coffee Analysis and Recommendation System!
This application helps you explore coffee data and get personalized recommendations.
""")
st.header("Available Pages")
col1, col2 = st.columns(2)
with col1:
if st.button("Dataset Explorer"):
st.switch_page("pages/dataset_explorer.py")
st.write("Explore the coffee dataset, view statistics, and visualize distributions.")
with col2:
if st.button("Recommendation System"):
st.switch_page("pages/recommendation.py")
st.write("Get personalized coffee recommendations based on your preferences.")
if __name__ == "__main__":
main()