varshitha22 commited on
Commit
bd4c757
·
verified ·
1 Parent(s): 2cc19dc

Update pages/pg.py

Browse files
Files changed (1) hide show
  1. pages/pg.py +14 -5
pages/pg.py CHANGED
@@ -53,21 +53,30 @@ st.markdown("""
53
 
54
  # Section 3: Artificial Intelligence (AI)
55
  st.markdown("<h2 style='color: #F39C12; font-size: 30px; font-weight: bold;'>🔹 3. What is Artificial Intelligence (AI)?</h2>", unsafe_allow_html=True)
 
56
  st.markdown("""
57
  <p style='font-size: 24px;'>
58
  <b>Artificial Intelligence (AI)</b> is a field of computer science that focuses on mimicking, copying, or cloning human intelligence in machines, enabling them to perform tasks like a human.
59
  </p>
60
- <p style='font-size: 24px;'><b>For Example:</b></p>
 
 
 
61
  <ul style='font-size: 24px;'>
62
- <li>Imagine a baby learning to walk. At first, the baby stumbles and falls, but with each attempt, they improve. Their brain automatically learns from past experiences — adjusting balance, correcting mistakes, and gradually walking without help. This is an example of natural intelligence — the ability to learn, adapt, and improve based on experience.</li>
63
- <li>Now, think about a self-driving car. In the beginning, the car doesn’t know how to drive. It is trained by feeding it thousands of hours of road data — how to stop at red lights, recognize pedestrians, and adjust speed. The AI system analyzes these patterns, learns from past mistakes, and gets better at driving over time.</li>
64
  </ul>
65
- <p style='font-size: 24px;'><b>Real-World Examples of AI:</b></p>
 
66
  <ul style='font-size: 24px;'>
67
- <li><b>Siri, Alexa, and Google Assistant:</b> These AI systems process natural language to answer questions.</li>
68
  </ul>
 
 
 
 
69
  """, unsafe_allow_html=True)
70
 
 
71
  # Section 4: Techniques and Tools for AI
72
  st.markdown("<h2 style='color: #3498DB; font-size: 30px; font-weight: bold;'>🔹 4. Techniques and Tools for AI</h2>", unsafe_allow_html=True)
73
  st.markdown("""
 
53
 
54
  # Section 3: Artificial Intelligence (AI)
55
  st.markdown("<h2 style='color: #F39C12; font-size: 30px; font-weight: bold;'>🔹 3. What is Artificial Intelligence (AI)?</h2>", unsafe_allow_html=True)
56
+
57
  st.markdown("""
58
  <p style='font-size: 24px;'>
59
  <b>Artificial Intelligence (AI)</b> is a field of computer science that focuses on mimicking, copying, or cloning human intelligence in machines, enabling them to perform tasks like a human.
60
  </p>
61
+
62
+ <hr style='border: 1px solid black;'>
63
+
64
+ <p style='font-size: 24px; font-style: italic;'><b>Example:</b></p>
65
  <ul style='font-size: 24px;'>
66
+ <li>Imagine a baby learning to walk. At first, the baby stumbles and falls, but with each attempt, they improve. Their brain automatically learns from past experiences — adjusting balance, correcting mistakes, and gradually walking without help. This is an example of <b>natural intelligence</b> — the ability to learn, adapt, and improve based on experience.</li>
 
67
  </ul>
68
+
69
+ <p style='font-size: 24px; font-weight: bold;'>How AI Mimics This Process</p>
70
  <ul style='font-size: 24px;'>
71
+ <li>Now, think about a self-driving car. In the beginning, the car doesn’t know how to drive. It is trained by feeding it thousands of hours of road data—how to stop at red lights, recognize pedestrians, and adjust speed. The AI system analyzes these patterns, learns from past mistakes, and gets better at driving over time.</li>
72
  </ul>
73
+
74
+ <p style='font-size: 24px;'>
75
+ Just like a baby learns to walk through trial and error, <b>AI learns by analyzing data, identifying patterns, and making decisions based on what it has learned.</b>
76
+ </p>
77
  """, unsafe_allow_html=True)
78
 
79
+
80
  # Section 4: Techniques and Tools for AI
81
  st.markdown("<h2 style='color: #3498DB; font-size: 30px; font-weight: bold;'>🔹 4. Techniques and Tools for AI</h2>", unsafe_allow_html=True)
82
  st.markdown("""