Spaces:
Sleeping
Sleeping
import streamlit as st | |
# Configuración de la página | |
st.set_page_config(page_title="Customer Insights App", page_icon=":bar_chart:") | |
# Diseño de la página principal | |
st.title("Welcome to Customer Insights App") | |
st.markdown(""" | |
This app helps businesses analyze customer behaviors and provide personalized recommendations based on purchase history. | |
Use the tools below to dive deeper into your customer data. | |
""") | |
# Menú de navegación | |
page = st.selectbox("Select a page", ["Home", "Customer Analysis", "Customer Recommendations"]) | |
if page == "Home": | |
st.markdown("## Welcome to the Customer Insights App") | |
st.write("Use the dropdown menu to navigate between the different sections.") | |
elif page == "Customer Analysis": | |
st.write("You have selected **Customer Analysis**.") | |
# Aquí puedes incluir el contenido de la página 'customer_analysis.py' | |
elif page == "Customer Recommendations": | |
st.write("You have selected **Customer Recommendations**.") | |
# Aquí puedes incluir el contenido de la página 'customer_recommendation.py' |