hari3485 commited on
Commit
4cd10c1
·
verified ·
1 Parent(s): 9edd4e0

Update pages/intro.py

Browse files
Files changed (1) hide show
  1. pages/intro.py +13 -22
pages/intro.py CHANGED
@@ -4,38 +4,29 @@ st.markdown("<h1> ✍What is Data Science?</h1>",unsafe_allow_html=True)
4
 
5
  st.markdown("<p style='margin-top: 0;'>Data science is a field that extracts insights and knowledge from data. It’s like being a detective who uses clues (data) to solve mysteries (business problems or questions).</p></div>", unsafe_allow_html=True)
6
 
 
 
7
 
8
- # Set up the page
9
- st.markdown("<h1> AI Story🌟</h1>",unsafe_allow_html=True)
10
-
11
- # Header
12
- st.markdown("<h1 style='text-align: center; color: #ff5722;'>🌟 The Story of Learning 🌟</h1>", unsafe_allow_html=True)
13
-
14
- # Story paragraph
15
  st.markdown("""
16
- <p style='text-align: center; color: #333; font-size: 18px;'>
17
- There was a mother and her young daughter who didn’t know how to draw.
18
- Wanting to help, the mother enrolled her daughter in a drawing class.
19
- At the class, the teacher showed her step-by-step how to draw simple shapes and pictures.
20
- The girl practiced every day, observing and mimicking what her teacher showed.
21
- Over time, she improved and could create beautiful drawings on her own.
22
- This was possible because of the natural intelligence given by God—her ability to learn, practice, and create. ✍️✨
23
  </p>
24
- <p style='text-align: center; color: #333; font-size: 18px;'>
25
  Similarly, in Artificial Intelligence (AI), machines do not have natural intelligence to learn or create on their own.
26
- Just as the mother guided her daughter by enrolling her in classes and the teacher helped her practice,
27
- we guide machines by feeding them data and teaching them patterns.
28
  Over time, the machine learns from this data and mimics natural intelligence to perform tasks intelligently.
29
  </p>
30
  """, unsafe_allow_html=True)
31
 
32
- # Key points
33
  st.markdown("""
34
- <ul style='text-align: left; color: #2196f3; font-size: 18px;'>
35
  <li>📚 <strong>Learning Ability:</strong> Machines learn patterns and knowledge from data, just like the girl learned to draw by observing examples and practicing.</li>
36
  <li>🎨 <strong>Generating Ability:</strong> After learning, machines can create outputs such as text, images, or decisions, imitating human-like intelligence.</li>
37
  </ul>
38
  """, unsafe_allow_html=True)
39
-
40
- # Footer
41
- st.markdown("<footer style='text-align: center; font-size: 16px; color: #666;'>These two abilities form the foundation of AI, enabling machines to mimic human-like learning and creativity.</footer>", unsafe_allow_html=True)
 
4
 
5
  st.markdown("<p style='margin-top: 0;'>Data science is a field that extracts insights and knowledge from data. It’s like being a detective who uses clues (data) to solve mysteries (business problems or questions).</p></div>", unsafe_allow_html=True)
6
 
7
+ st.markdown("<h3 style='text-align: center; color: ;'>What is AI? </h3>", unsafe_allow_html=True)
8
+ st.markdown("<h3 style='text-align: center; color: #ff5722;'>🌟 The Story of Learning 🌟</h3>", unsafe_allow_html=True)
9
 
10
+ # Story Content
 
 
 
 
 
 
11
  st.markdown("""
12
+ <p style='text-align: justify; color: #333; font-size: 18px;'>
13
+ There was a mother and her young daughter who didn’t know how to draw. Wanting to help, the mother enrolled her daughter in a drawing class.
14
+ At the class, the teacher showed her step-by-step how to draw simple shapes and pictures. The girl practiced every day, observing and mimicking what her teacher showed.
15
+ Over time, she improved and could create beautiful drawings on her own. This was possible because of the natural intelligence given by God—her ability to learn, practice, and create. ✍️✨
 
 
 
16
  </p>
17
+ <p style='text-align: justify; color: #333; font-size: 18px;'>
18
  Similarly, in Artificial Intelligence (AI), machines do not have natural intelligence to learn or create on their own.
19
+ Just as the mother guided her daughter by enrolling her in classes and the teacher helped her practice, we guide machines by feeding them data and teaching them patterns.
 
20
  Over time, the machine learns from this data and mimics natural intelligence to perform tasks intelligently.
21
  </p>
22
  """, unsafe_allow_html=True)
23
 
24
+ # Key Points
25
  st.markdown("""
26
+ <ul style='color: #2196f3; font-size: 18px;'>
27
  <li>📚 <strong>Learning Ability:</strong> Machines learn patterns and knowledge from data, just like the girl learned to draw by observing examples and practicing.</li>
28
  <li>🎨 <strong>Generating Ability:</strong> After learning, machines can create outputs such as text, images, or decisions, imitating human-like intelligence.</li>
29
  </ul>
30
  """, unsafe_allow_html=True)
31
+
32
+