Spaces:
Sleeping
Sleeping
Update pages/pg.py
Browse files- pages/pg.py +3 -11
pages/pg.py
CHANGED
|
@@ -52,40 +52,35 @@ st.markdown("""
|
|
| 52 |
""", unsafe_allow_html=True)
|
| 53 |
|
| 54 |
# Section 3: Artificial Intelligence (AI)
|
| 55 |
-
st.markdown("<h2 style='color: #F39C12; font-size: 30px; font-weight: bold;'>🔹 3. Artificial Intelligence (AI)
|
| 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 |
<p style='font-size: 24px; font-style: italic;'><b>Example:</b></p>
|
| 63 |
<ul style='font-size: 24px;'>
|
| 64 |
<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>
|
| 65 |
</ul>
|
| 66 |
-
|
| 67 |
<p style='font-size: 24px; font-weight: bold;'>How AI Mimics This Process</p>
|
| 68 |
<ul style='font-size: 24px;'>
|
| 69 |
<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>
|
| 70 |
</ul>
|
| 71 |
-
|
| 72 |
<p style='font-size: 24px;'>
|
| 73 |
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>
|
| 74 |
-
|
| 75 |
-
</u1>
|
| 76 |
<p style='font-size: 24px; font-weight: bold;'>Real-World Examples of AI</p>
|
| 77 |
<ul style='font-size: 24px;'>
|
| 78 |
<li><b>Siri, Alexa, and Google Assistant:</b> These AI systems process natural language to answer questions.</li>
|
| 79 |
</ul>
|
| 80 |
-
</p>
|
| 81 |
""", unsafe_allow_html=True)
|
| 82 |
|
| 83 |
-
|
| 84 |
# Section 4: Techniques and Tools for AI
|
| 85 |
st.markdown("<h2 style='color: #3498DB; font-size: 30px; font-weight: bold;'>🔹 4. Techniques and Tools for AI</h2>", unsafe_allow_html=True)
|
| 86 |
st.markdown("""
|
| 87 |
<p style='font-size: 24px;'>
|
| 88 |
If you want to mimic or clone human intelligence on a machine, there are several techniques and tools involved.
|
|
|
|
| 89 |
""", unsafe_allow_html=True)
|
| 90 |
|
| 91 |
# Image Section for Techniques and Tools
|
|
@@ -100,7 +95,4 @@ st.markdown(
|
|
| 100 |
unsafe_allow_html=True
|
| 101 |
)
|
| 102 |
|
| 103 |
-
""", unsafe_allow_html=True)
|
| 104 |
-
|
| 105 |
-
|
| 106 |
|
|
|
|
| 52 |
""", unsafe_allow_html=True)
|
| 53 |
|
| 54 |
# Section 3: Artificial Intelligence (AI)
|
| 55 |
+
st.markdown("<h2 style='color: #F39C12; font-size: 30px; font-weight: bold;'>🔹 3. 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 |
<p style='font-size: 24px; font-style: italic;'><b>Example:</b></p>
|
| 62 |
<ul style='font-size: 24px;'>
|
| 63 |
<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>
|
| 64 |
</ul>
|
|
|
|
| 65 |
<p style='font-size: 24px; font-weight: bold;'>How AI Mimics This Process</p>
|
| 66 |
<ul style='font-size: 24px;'>
|
| 67 |
<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>
|
| 68 |
</ul>
|
|
|
|
| 69 |
<p style='font-size: 24px;'>
|
| 70 |
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>
|
| 71 |
+
</p>
|
|
|
|
| 72 |
<p style='font-size: 24px; font-weight: bold;'>Real-World Examples of AI</p>
|
| 73 |
<ul style='font-size: 24px;'>
|
| 74 |
<li><b>Siri, Alexa, and Google Assistant:</b> These AI systems process natural language to answer questions.</li>
|
| 75 |
</ul>
|
|
|
|
| 76 |
""", unsafe_allow_html=True)
|
| 77 |
|
|
|
|
| 78 |
# Section 4: Techniques and Tools for AI
|
| 79 |
st.markdown("<h2 style='color: #3498DB; font-size: 30px; font-weight: bold;'>🔹 4. Techniques and Tools for AI</h2>", unsafe_allow_html=True)
|
| 80 |
st.markdown("""
|
| 81 |
<p style='font-size: 24px;'>
|
| 82 |
If you want to mimic or clone human intelligence on a machine, there are several techniques and tools involved.
|
| 83 |
+
</p>
|
| 84 |
""", unsafe_allow_html=True)
|
| 85 |
|
| 86 |
# Image Section for Techniques and Tools
|
|
|
|
| 95 |
unsafe_allow_html=True
|
| 96 |
)
|
| 97 |
|
|
|
|
|
|
|
|
|
|
| 98 |
|