Spaces:
Sleeping
Sleeping
Create HomePage.py
Browse files- HomePage.py +108 -0
HomePage.py
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import streamlit as st
|
| 2 |
+
|
| 3 |
+
st.set_page_config(
|
| 4 |
+
page_title="HomePage",
|
| 5 |
+
page_icon="π",
|
| 6 |
+
layout="wide"
|
| 7 |
+
)
|
| 8 |
+
|
| 9 |
+
# Title
|
| 10 |
+
st.markdown("""
|
| 11 |
+
<div style="text-align: center; margin-bottom: 20px;">
|
| 12 |
+
<h1 style="color: #880085; font-size: 36px;">Step into the Future with Machine Learning!</h1>
|
| 13 |
+
<h2 style="color: #000080; font-size: 24px;">Start from zero and become a hero! ππ</h2>
|
| 14 |
+
</div>""", unsafe_allow_html=True)
|
| 15 |
+
|
| 16 |
+
# Image
|
| 17 |
+
st.image(
|
| 18 |
+
"https://huggingface.co/spaces/LakshmiHarika/MachineLearning/resolve/main/reduced_height_image.png",
|
| 19 |
+
caption="The path to mastering Machine Learning starts here.",
|
| 20 |
+
use_container_width=True)
|
| 21 |
+
|
| 22 |
+
st.markdown("""
|
| 23 |
+
<div style="text-align: center; margin-top: 40px; padding: 20px; border-radius: 8px; font-family: Arial, sans-serif;">
|
| 24 |
+
<h2 style="color: #c71585; font-size: 28px;">π What You'll Explore</h2>
|
| 25 |
+
<p style="font-size: 18px; line-height: 1.6; color: #4F4F4F;">
|
| 26 |
+
Embark on your Machine Learning journey! π This app is your all-in-one resource for mastering AI π€ and data science.
|
| 27 |
+
Dive into core concepts, gain insights into algorithms, practice with real-world datasets, and build impactful projects
|
| 28 |
+
to bring AI to life π.
|
| 29 |
+
</p>
|
| 30 |
+
<ul style="text-align: left; font-size: 18px; line-height: 1.8; color: #4F4F4F;">
|
| 31 |
+
<li><strong>Step-by-Step ML Tutorials</strong>: Understand the fundamentals of ML in an easy-to-follow wayπ.</li>
|
| 32 |
+
<li><strong>Algorithm Deep-Dives</strong>: Break down popular ML algorithms with clear examples and explanationsπ</li>
|
| 33 |
+
<li><strong>Explore Real-World Datasets</strong>: Get hands-on experience with practical data exploration.π</li>
|
| 34 |
+
<li><strong>Guided Projects</strong>: Work on end-to-end ML projects with structured guidance.π‘</li>
|
| 35 |
+
<li><strong>Skill Building</strong>: Advance your knowledge with interactive and practical exercises. π οΈ</li>
|
| 36 |
+
</ul>
|
| 37 |
+
</div>
|
| 38 |
+
""", unsafe_allow_html=True)
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
st.markdown("""
|
| 44 |
+
<div style="text-align: center; margin-top: 40px; padding: 20px; border-radius: 8px; font-family: Arial, sans-serif;">
|
| 45 |
+
<h2 style="color: #c71585; font-size: 28px;">About the Creator π¨βπ»</h2>
|
| 46 |
+
<p style="font-size: 18px; line-height: 1.8; color: #4F4F4F;">
|
| 47 |
+
Hi! Iβm Lakshmi Harika, a postgraduate in Statistics with a passion for exploring data science and machine learning.
|
| 48 |
+
My journey equips me with hands-on experience in Python, SQL, and visualization tools to uncover insights from data.
|
| 49 |
+
</p>
|
| 50 |
+
<ul style="text-align: left; font-size: 18px; line-height: 1.8; color: #4F4F4F; margin-top: 20px;">
|
| 51 |
+
<li><strong>Programming:</strong> Python, R, SQL</li>
|
| 52 |
+
<li><strong>Data Analysis & Visualization:</strong> Numpy, Pandas, PowerBI, Excel</li>
|
| 53 |
+
</ul>
|
| 54 |
+
<div style="margin-top: 20px;">
|
| 55 |
+
<a href="https://www.linkedin.com/in/lakshmiharika34" target="_blank" style="text-decoration: none; color: white; background-color: #0077b5; padding: 10px 15px; border-radius: 5px; margin-right: 10px;">LinkedIn</a>
|
| 56 |
+
<a href="https://medium.com/@harikamunnangi34" target="_blank" style="text-decoration: none; color: white; background-color: #00ab6c; padding: 10px 15px; border-radius: 5px; margin-right: 10px;">Medium</a>
|
| 57 |
+
<a href="https://github.com/lakshmiharikaa34" target="_blank" style="text-decoration: none; color: white; background-color: #333333; padding: 10px 15px; border-radius: 5px;">GitHub</a>
|
| 58 |
+
</div>
|
| 59 |
+
</div>
|
| 60 |
+
""", unsafe_allow_html=True)
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
st.markdown("""
|
| 66 |
+
<div style="text-align: center; margin-top: 40px; padding: 20px; border-radius: 8px; font-family: Arial, sans-serif;">
|
| 67 |
+
<h2 style="color: #c71585; font-size: 28px;">Ready to Dive In? π</h2>
|
| 68 |
+
<p style="font-size: 18px; line-height: 1.8; color: #4F4F4F;">
|
| 69 |
+
Letβs unlock the power of AI and ML together. Dive in and let the journey begin! π
|
| 70 |
+
</p>
|
| 71 |
+
</div>
|
| 72 |
+
""", unsafe_allow_html=True)
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
st.markdown(
|
| 77 |
+
"""
|
| 78 |
+
<style>
|
| 79 |
+
.stApp {
|
| 80 |
+
background-image: url("https://huggingface.co/spaces/LakshmiHarika/MLExplorersDen/resolve/main/DALL%C2%B7E%202024-12-03%2023.34.47%20-%20A%20simple%20and%20elegant%20background%20image%20for%20an%20AI-themed%20web%20application.%20The%20background%20should%20feature%20a%20soft%20gradient%20transitioning%20from%20white%20to%20ligh.webp"); /* Replace with your image URL */
|
| 81 |
+
background-size: cover;
|
| 82 |
+
background-repeat: no-repeat;
|
| 83 |
+
background-attachment: fixed;
|
| 84 |
+
}
|
| 85 |
+
</style>
|
| 86 |
+
""",
|
| 87 |
+
unsafe_allow_html=True
|
| 88 |
+
)
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
|
| 92 |
+
st.markdown("""
|
| 93 |
+
<style>
|
| 94 |
+
body, .stApp {
|
| 95 |
+
color: #4F4F4F; /* Replace with your desired font color */
|
| 96 |
+
background-color: #FFFFFF; /* Optional: Set a fixed background color */
|
| 97 |
+
}
|
| 98 |
+
h1, h2, h3, h4, h5, h6 {
|
| 99 |
+
color: #BB3385; /* Replace with your heading color */
|
| 100 |
+
}
|
| 101 |
+
p {
|
| 102 |
+
color: #4F4F4F; /* Replace with your paragraph text color */
|
| 103 |
+
}
|
| 104 |
+
ul li {
|
| 105 |
+
color: #4F4F4F; /* List item color */
|
| 106 |
+
}
|
| 107 |
+
</style>
|
| 108 |
+
""", unsafe_allow_html=True)
|