import streamlit as st from streamlit_extras.switch_page_button import switch_page # Initialize session state to track which button was clicked if 'button_clicked' not in st.session_state: st.session_state.button_clicked = None # Custom styles st.markdown( """ """, unsafe_allow_html=True, ) # Initialize session state variables for key in ['page', 'jupyter_clicked', 'pdf_clicked', 'excel_clicked']: if key not in st.session_state: st.session_state[key] = 'home' if key == 'page' else False # App Header st.markdown("
" "Cric Metrics is an advanced cricket analytics platform designed to provide in-depth insights, player comparisons, " "score predictions, and team analysis using AI and machine learning." "
", unsafe_allow_html=True ) st.markdown( ""
"Key Features:
"
"✅ Player Profiles & Comparisons – Analyze detailed stats and compare players across formats.
"
"✅ Team Analysis – Head-to-head matchups, recent performance, and winning probabilities.
"
"✅ Score Prediction – AI-driven forecasts based on historical data and live conditions.
"
"
" "Whether you're a cricket enthusiast, fantasy league player, or analyst, Cric Metrics gives you the edge with data-driven insights!" "
", unsafe_allow_html=True ) # Author Section st.markdown("" "Sai Kalyan Satwik is a seasoned cricket enthusiast and tech entrepreneur with over 10 years of experience in the field. " "Passionate about blending technology with sports, he has developed Cric Metrics to bring the power of AI and data science into cricket analytics." "
", unsafe_allow_html=True ) st.markdown( "" "His expertise spans Machine Learning, Software Development, and Cricket Analysis, making Cric Metrics a top-tier analytical platform for cricket lovers worldwide." "
", unsafe_allow_html=True )