Spaces:
Sleeping
Sleeping
Update pages/intro.py
Browse files- pages/intro.py +38 -18
pages/intro.py
CHANGED
|
@@ -7,6 +7,18 @@ st.markdown("""
|
|
| 7 |
</p>
|
| 8 |
""", unsafe_allow_html=True)
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
st.markdown("<h1>What is Artificial Intelligence? 馃</h1>", unsafe_allow_html=True)
|
| 11 |
|
| 12 |
st.markdown("""
|
|
@@ -65,6 +77,19 @@ Inputs are called <b>features</b>, and outputs are called <b>class labels</b>. M
|
|
| 65 |
</p>
|
| 66 |
""", unsafe_allow_html=True)
|
| 67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
# DL Section
|
| 69 |
st.markdown("<h1 >Deep Learning (DL)</h1>", unsafe_allow_html=True)
|
| 70 |
st.markdown("""
|
|
@@ -74,7 +99,16 @@ It is a subfield of both <b>AI</b> and <b>ML</b>.
|
|
| 74 |
</p>
|
| 75 |
""", unsafe_allow_html=True)
|
| 76 |
|
| 77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
# App Title
|
| 80 |
st.markdown("<h1>Generative AI: A Transformative Technology</h1>",unsafe_allow_html=True)
|
|
@@ -96,33 +130,19 @@ Generative AI is a <strong>transformative technology</strong> designed to mimic
|
|
| 96 |
<strong>natural language processing</strong> and <strong>content generation</strong>.</p>
|
| 97 |
""", unsafe_allow_html=True)
|
| 98 |
|
| 99 |
-
# Key
|
| 100 |
st.markdown("""
|
| 101 |
<h2 style="color: #2196F3;">Key Features</h2>
|
| 102 |
<ol style="font-size:16px;">
|
| 103 |
<li>
|
| 104 |
<strong>Content Creation</strong>: Generative AI tools like <strong>ChatGPT</strong> create human-like text for applications such as emails and stories.
|
| 105 |
</li>
|
| 106 |
-
<li>
|
| 107 |
-
<strong>Visual Media Generation</strong>: Tools like <strong>DALL路E</strong> generate realistic and creative images.
|
| 108 |
-
</li>
|
| 109 |
-
<li>
|
| 110 |
-
<strong>Personalized Recommendations</strong>: Models like <strong>Gemini</strong> tailor suggestions based on user preferences.
|
| 111 |
-
</li>
|
| 112 |
</ol>
|
| 113 |
""", unsafe_allow_html=True)
|
| 114 |
|
| 115 |
-
# Applications Section
|
| 116 |
-
st.markdown("""
|
| 117 |
-
<h2 style="color: #FF9800;">Applications</h2>
|
| 118 |
-
<ul style="font-size:16px;">
|
| 119 |
-
<li><strong>Chatbots and Virtual Assistants</strong>: Enhancing customer interactions with tools like <strong>Meta AI</strong>.</li>
|
| 120 |
-
<li><strong>Text Summarization</strong>: Creating concise summaries from lengthy documents.</li>
|
| 121 |
-
<li><strong>Creative Tools</strong>: AI-driven design for artwork and music composition.</li>
|
| 122 |
-
</ul>
|
| 123 |
-
""", unsafe_allow_html=True)
|
| 124 |
|
| 125 |
-
|
|
|
|
| 126 |
st.markdown("""
|
| 127 |
<h2 style="color: #9C27B0;">Conclusion</h2>
|
| 128 |
<p style="font-size:16px;">
|
|
|
|
| 7 |
</p>
|
| 8 |
""", unsafe_allow_html=True)
|
| 9 |
|
| 10 |
+
st.markdown("<h3 style='text-align:; color: #4CAF50;'>馃搳Example馃搱馃攳 </h3>", unsafe_allow_html=True)
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
st.markdown("""
|
| 14 |
+
<p style="font-size:16px; color: black;">
|
| 15 |
+
A farmer wanted to grow the best crops but didn鈥檛 know which seeds to plant. A scientist helped by collecting data on soil, temperature, and rainfall, and used that data to give the farmer advice on when to plant and water the crops.
|
| 16 |
+
</p>
|
| 17 |
+
<p style="font-size:16px; color: black;">
|
| 18 |
+
Just like the scientist analyzed data to guide the farmer, data science uses data to find patterns and make decisions, helping solve problems and predict outcomes.
|
| 19 |
+
</p>
|
| 20 |
+
""", unsafe_allow_html=True)
|
| 21 |
+
|
| 22 |
st.markdown("<h1>What is Artificial Intelligence? 馃</h1>", unsafe_allow_html=True)
|
| 23 |
|
| 24 |
st.markdown("""
|
|
|
|
| 77 |
</p>
|
| 78 |
""", unsafe_allow_html=True)
|
| 79 |
|
| 80 |
+
st.markdown("<h3 style='text-align:; color: #4CAF50;'>馃Example馃挕 </h3>", unsafe_allow_html=True)
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
|
| 84 |
+
st.markdown("""
|
| 85 |
+
<p style='text-align: justify; color: #333; font-size: 18px;'>
|
| 86 |
+
Machine Learning (ML) is like a teacher who uses past exam results to find patterns and help students improve. By analyzing how study habits affect grades,
|
| 87 |
+
the teacher creates a system that suggests personalized study tips. Similarly, ML uses past data to identify patterns and make predictions,
|
| 88 |
+
like Netflix recommending movies based on your viewing history.
|
| 89 |
+
</p>
|
| 90 |
+
""", unsafe_allow_html=True)
|
| 91 |
+
|
| 92 |
+
|
| 93 |
# DL Section
|
| 94 |
st.markdown("<h1 >Deep Learning (DL)</h1>", unsafe_allow_html=True)
|
| 95 |
st.markdown("""
|
|
|
|
| 99 |
</p>
|
| 100 |
""", unsafe_allow_html=True)
|
| 101 |
|
| 102 |
+
st.markdown("<h3 style='text-align:; color: #4CAF50;'>馃Example馃馃挕 </h3>", unsafe_allow_html=True)
|
| 103 |
+
|
| 104 |
+
|
| 105 |
+
st.markdown("""
|
| 106 |
+
<p style='text-align: justify; color: #333; font-size: 18px;'>
|
| 107 |
+
Deep Learning (DL) is like learning from experience instead of just following rules, unlike Machine Learning (ML), which follows fixed instructions.
|
| 108 |
+
DL uses systems that improve over time by processing data and recognizing patterns.
|
| 109 |
+
A real-life example is self-driving cars, which learn to navigate and make decisions by processing data and getting better with experience.
|
| 110 |
+
</p>
|
| 111 |
+
""", unsafe_allow_html=True)
|
| 112 |
|
| 113 |
# App Title
|
| 114 |
st.markdown("<h1>Generative AI: A Transformative Technology</h1>",unsafe_allow_html=True)
|
|
|
|
| 130 |
<strong>natural language processing</strong> and <strong>content generation</strong>.</p>
|
| 131 |
""", unsafe_allow_html=True)
|
| 132 |
|
| 133 |
+
# Key Feature with examples
|
| 134 |
st.markdown("""
|
| 135 |
<h2 style="color: #2196F3;">Key Features</h2>
|
| 136 |
<ol style="font-size:16px;">
|
| 137 |
<li>
|
| 138 |
<strong>Content Creation</strong>: Generative AI tools like <strong>ChatGPT</strong> create human-like text for applications such as emails and stories.
|
| 139 |
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
</ol>
|
| 141 |
""", unsafe_allow_html=True)
|
| 142 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 143 |
|
| 144 |
+
|
| 145 |
+
# Potential of Generative AI
|
| 146 |
st.markdown("""
|
| 147 |
<h2 style="color: #9C27B0;">Conclusion</h2>
|
| 148 |
<p style="font-size:16px;">
|