Sathwikchowdary commited on
Commit
0501ae1
β€’
1 Parent(s): 931c1aa

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +18 -24
Home.py CHANGED
@@ -1,28 +1,22 @@
1
  import streamlit as st
2
  import pandas as pd
3
  import numpy as np
 
4
  st.set_page_config(page_title="Zero to Hero: Master Data Science & ML")
5
 
6
  ## CSS Styling for Background Image with Gradient Overlay
7
-
8
  custom_css = """
9
- <div style="background-image: url('https://via.placeholder.com/800'); background-size: cover; height: 200px; color: white; display: flex; align-items: center; justify-content: center;">
10
- <h2>Centered Text</h2>
11
- </div>
12
- '); background-size: cover; height: 200px; color: white; display: flex; align-items: center; justify-content: center;">
13
- <h2>Centered Text</h2>
14
- </div>
15
-
16
  <style>
17
  html, body, [data-testid="stAppViewContainer"] {
18
- background-image:
19
- linear-gradient(
20
  rgba(0, 0, 0, 0.6),
21
- rgba(0, 0, 0, 0.6)
22
  ),
23
- url("https://cdn.pixabay.com/photo/2023/08/14/02/18/ai-generated-8188691_1280.jpg") no-repeat center center fixed;
24
- background-size: cover;
25
- color: white;
 
26
  }
27
  h1 {
28
  color: Black;
@@ -49,7 +43,11 @@ custom_css = """
49
  </style>
50
  """
51
  st.write(custom_css, unsafe_allow_html=True)
52
- st.markdown("<h1 style='text-align: center; color: Balck;'>πŸš€ Zero_to_Hero_in_ML πŸ€–</h1>", unsafe_allow_html=True)
 
 
 
 
53
  st.markdown("<h2 style='color: Black;'>About the App 🌟</h2>", unsafe_allow_html=True)
54
  st.markdown(
55
  "<p style='font-size: 16px; color: Blue; font-style: italic;'>"
@@ -57,7 +55,8 @@ st.markdown(
57
  "It details their path to mastering various aspects of the field, including Machine Learning, Deep Learning, and Generative AI. "
58
  "The app highlights their challenges, setbacks, and perseverance in transitioning from a beginner to an expert in data science, offering a motivational zero-to-hero story."
59
  "</p>",
60
- unsafe_allow_html=True)
 
61
  st.markdown(
62
  "<p style='font-size: 16px; color: Blue; font-style: italic;'>"
63
  "Learning data science comes with numerous challenges, such as gaining proficiency in tools like Python, building a solid understanding of mathematical concepts like statistics, "
@@ -73,11 +72,8 @@ st.markdown(
73
  unsafe_allow_html=True
74
  )
75
 
76
- # Subheader for author section
77
- st.markdown(
78
- "<h2 style='color: Black;'>About the Author πŸ€–</h2>",
79
- unsafe_allow_html=True
80
- )
81
  st.markdown(
82
  "<p style='font-size: 16px; color:Blue; font-style: italic;'>"
83
  "Sai Kalyan Satwik is a dedicated learner and practitioner in the field of data science. "
@@ -85,7 +81,6 @@ st.markdown(
85
  "</p>",
86
  unsafe_allow_html=True
87
  )
88
-
89
  st.markdown(
90
  "<p style='font-size: 16px; color:Blue; font-style: italic;'>"
91
  "Beyond his technical abilities, he is passionate about inspiring others by sharing his journey. "
@@ -93,11 +88,10 @@ st.markdown(
93
  "</p>",
94
  unsafe_allow_html=True
95
  )
96
-
97
  st.markdown(
98
  "<p style='font-size: 16px; color:Blue; font-style: italic;'>"
99
  "Fueled by curiosity and determination, he has conquered various obstacles, including technical knowledge gaps."
100
  "Through relentless dedication, hands-on projects, and continuous learning, he has achieved remarkable proficiency in the field."
101
  "</p>",
102
  unsafe_allow_html=True
103
- )
 
1
  import streamlit as st
2
  import pandas as pd
3
  import numpy as np
4
+
5
  st.set_page_config(page_title="Zero to Hero: Master Data Science & ML")
6
 
7
  ## CSS Styling for Background Image with Gradient Overlay
 
8
  custom_css = """
 
 
 
 
 
 
 
9
  <style>
10
  html, body, [data-testid="stAppViewContainer"] {
11
+ background:
12
+ linear-gradient(
13
  rgba(0, 0, 0, 0.6),
14
+ rgba(0, 0, 0, 0.6)
15
  ),
16
+ url("https://www.expresscomputer.in/news/top-data-science-trends-to-watch-out-for-in-2023/92055/.jpg");
17
+ background-size: cover;
18
+ background-attachment: fixed;
19
+ color: white;
20
  }
21
  h1 {
22
  color: Black;
 
43
  </style>
44
  """
45
  st.write(custom_css, unsafe_allow_html=True)
46
+
47
+ # App Header
48
+ st.markdown("<h1 style='text-align: center; color: Black;'>πŸš€ Zero_to_Hero_in_ML πŸ€–</h1>", unsafe_allow_html=True)
49
+
50
+ # About Section
51
  st.markdown("<h2 style='color: Black;'>About the App 🌟</h2>", unsafe_allow_html=True)
52
  st.markdown(
53
  "<p style='font-size: 16px; color: Blue; font-style: italic;'>"
 
55
  "It details their path to mastering various aspects of the field, including Machine Learning, Deep Learning, and Generative AI. "
56
  "The app highlights their challenges, setbacks, and perseverance in transitioning from a beginner to an expert in data science, offering a motivational zero-to-hero story."
57
  "</p>",
58
+ unsafe_allow_html=True
59
+ )
60
  st.markdown(
61
  "<p style='font-size: 16px; color: Blue; font-style: italic;'>"
62
  "Learning data science comes with numerous challenges, such as gaining proficiency in tools like Python, building a solid understanding of mathematical concepts like statistics, "
 
72
  unsafe_allow_html=True
73
  )
74
 
75
+ # Author Section
76
+ st.markdown("<h2 style='color: Black;'>About the Author πŸ€–</h2>", unsafe_allow_html=True)
 
 
 
77
  st.markdown(
78
  "<p style='font-size: 16px; color:Blue; font-style: italic;'>"
79
  "Sai Kalyan Satwik is a dedicated learner and practitioner in the field of data science. "
 
81
  "</p>",
82
  unsafe_allow_html=True
83
  )
 
84
  st.markdown(
85
  "<p style='font-size: 16px; color:Blue; font-style: italic;'>"
86
  "Beyond his technical abilities, he is passionate about inspiring others by sharing his journey. "
 
88
  "</p>",
89
  unsafe_allow_html=True
90
  )
 
91
  st.markdown(
92
  "<p style='font-size: 16px; color:Blue; font-style: italic;'>"
93
  "Fueled by curiosity and determination, he has conquered various obstacles, including technical knowledge gaps."
94
  "Through relentless dedication, hands-on projects, and continuous learning, he has achieved remarkable proficiency in the field."
95
  "</p>",
96
  unsafe_allow_html=True
97
+ )