Spaces:
Sleeping
Sleeping
File size: 2,103 Bytes
7ad1903 b8701e8 7ad1903 b8701e8 7ad1903 b8701e8 f98f88a b8701e8 |
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 |
import streamlit as st
# Set page config
st.set_page_config(page_title="Cricket Data Analysis", page_icon="π", layout="wide")
# Function to set background image
def set_background(image_url):
st.markdown(
f"""
<style>
.stApp {{
background: url({image_url});
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}}
.white-text {{
color: white;
font-size: 18px;
}}
</style>
""",
unsafe_allow_html=True
)
# Set background image
image_url = "https://huggingface.co/spaces/Adityaganesh/Cricket_data/raw/main/istockphoto-177427917-612x612.jpg"
set_background(image_url)
# Title and Introduction
st.markdown('<h1 class="white-text">π Cricket Data Analysis Dashboard</h1>', unsafe_allow_html=True)
st.markdown("""
<p class="white-text">
Welcome to my <b>Cricket Data Analysis</b> project, where data meets the game!<br>
This project dives deep into historical and live cricket data to uncover hidden patterns, player insights, team performances, and match predictions.
</p>
""", unsafe_allow_html=True)
# What I'm Doing Section
st.markdown('<h3 class="white-text">π What I\'m doing:</h3>', unsafe_allow_html=True)
st.markdown("""
<ul class="white-text">
<li>Collected and cleaned cricket match data (ODI, T20, IPL, and more)</li>
<li>Performing <b>Exploratory Data Analysis (EDA)</b> to visualize trends</li>
<li>Analyzing player statistics, strike rates, economy, and consistency</li>
<li>Comparing team strategies, win probabilities, and match outcomes</li>
<li>Building <b>predictive models</b> for future match predictions and insights</li>
<li>Delivering visual reports and dashboards for easy interpretation</li>
</ul>
""", unsafe_allow_html=True)
# Footer
st.markdown("<hr>", unsafe_allow_html=True)
st.markdown('<p class="white-text">Explore the dashboard to uncover exciting cricket insights! π§ π</p>', unsafe_allow_html=True)
|