varshitha22 commited on
Commit
fa9180a
·
verified ·
1 Parent(s): 93684ab

Update pages/Introduction.py

Browse files
Files changed (1) hide show
  1. pages/Introduction.py +14 -12
pages/Introduction.py CHANGED
@@ -8,17 +8,17 @@ st.set_page_config(
8
  )
9
 
10
  # Main Title
11
- st.markdown("<h1; color: #FF5733;'>🌟 Exploring Artificial Intelligence, Machine Learning, Deep Learning, and Generative AI</h1>", unsafe_allow_html=True)
12
 
13
  # Visual Section: Comparison of AI, ML, DL, and Generative AI
14
- st.markdown("<h2 ; color: #2C3E50;'>AI vs ML vs DL vs Generative AI</h2>", unsafe_allow_html=True)
15
 
16
  image_url = "https://huggingface.co/spaces/varshitha22/ML/resolve/main/images/im1.jpg"
17
 
18
  st.markdown(
19
  f"""
20
  <div style="display: flex; justify-content: center;">
21
- <img src="{image_url}" alt="AI vs ML vs DL vs Generative AI" width="600">
22
  </div>
23
  """,
24
  unsafe_allow_html=True
@@ -36,7 +36,8 @@ st.markdown("""
36
  <li><b>Artificial Satellites</b>: A man-made object that orbits Earth or other planets. These are built for specific purposes like communication, navigation, weather monitoring, and research.</li>
37
  <li><b>Artificial Flowers</b>: These are man-made replicas of real flowers, crafted using materials like silk, plastic, or fabric. They are used for decoration, religious ceremonies, events, and artistic arrangements.</li>
38
  </ul>
39
- """, unsafe_allow_html=True)
 
40
 
41
  # Section 2: Intelligence
42
  st.markdown("<h2 style='color: #8E44AD; font-size: 30px; font-weight: bold;'> Intelligence :</h2>", unsafe_allow_html=True)
@@ -50,7 +51,7 @@ st.markdown("""
50
  <li>The child sees a dog for the first time and hears their parents say, “This is a dog.”</li>
51
  <li>The child observes its shape, fur, barking sound, and movement.</li>
52
  </ul>
53
- """, unsafe_allow_html=True)
54
 
55
  # Section 3: Artificial Intelligence (AI)
56
  st.markdown("<h2 style='color: #F39C12; font-size: 30px; font-weight: bold;'> Artificial Intelligence (AI) :</h2>", unsafe_allow_html=True)
@@ -74,7 +75,7 @@ st.markdown("""
74
  <ul style='font-size: 24px;'>
75
  <li><b>Siri, Alexa, and Google Assistant:</b> These AI systems process natural language to answer questions.</li>
76
  </ul>
77
- """, unsafe_allow_html=True)
78
 
79
  # Section 4: Techniques and Tools for AI
80
  st.markdown("<h2 style='color: #3498DB; font-size: 30px; font-weight: bold;'> Techniques and Tools for AI</h2>", unsafe_allow_html=True)
@@ -82,7 +83,7 @@ st.markdown("""
82
  <p style='font-size: 24px;'>
83
  If you want to mimic or clone human intelligence on a machine, there are several techniques and tools involved.
84
  </p>
85
- """, unsafe_allow_html=True)
86
 
87
  # Image Section for Techniques and Tools
88
  image_url = "https://huggingface.co/spaces/varshitha22/ML/resolve/main/images/im2.jpg"
@@ -90,11 +91,12 @@ image_url = "https://huggingface.co/spaces/varshitha22/ML/resolve/main/images/im
90
  st.markdown(
91
  f"""
92
  <div style="display: flex; justify-content: center;">
93
- <img src="{image_url}" alt="AI Techniques and Tools" width="600">
94
  </div>
95
  """,
96
  unsafe_allow_html=True
97
  )
 
98
  # Section: Machine Learning
99
  st.markdown("""
100
  <div style='background: linear-gradient(to right, #E1F5FE, #FCE4EC); padding: 25px; border-radius: 12px; box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);'>
@@ -120,7 +122,7 @@ st.markdown("""
120
  <li><b>Object Detection & Sentiment Analysis:</b> Used in computer vision and NLP applications like fraud detection, emotion analysis.</li>
121
  </ul>
122
  </div>
123
- """, unsafe_allow_html=True)
124
 
125
  # Section: Deep Learning
126
  st.markdown("""
@@ -131,7 +133,7 @@ st.markdown("""
131
  </p>
132
  <p style='font-size: 24px;'>These neural networks are composed of multiple layers (hence the term “deep”) that enable the model to automatically extract features from the data.</p>
133
  </div>
134
- """, unsafe_allow_html=True)
135
 
136
  # Section: Generative AI
137
  st.markdown("""
@@ -141,7 +143,7 @@ st.markdown("""
141
  <b>Generative AI</b> refers to the branch of AI that focuses on creating new content, such as images, music, text, or videos, that is indistinguishable from human-created content.
142
  </p>
143
  </div>
144
- """, unsafe_allow_html=True)
145
 
146
  # Section: Relationship Between AI, ML, DL, and Generative AI
147
  st.markdown("""
@@ -155,4 +157,4 @@ st.markdown("""
155
  <li><b>Generative AI:</b> A creative branch of DL that generates new content.</li>
156
  </ul>
157
  </div>
158
- """, unsafe_allow_html=True)
 
8
  )
9
 
10
  # Main Title
11
+ st.markdown("<h1 style='color: #FF5733;'>🌟 Exploring Artificial Intelligence, Machine Learning, Deep Learning, and Generative AI</h1>", unsafe_allow_html=True)
12
 
13
  # Visual Section: Comparison of AI, ML, DL, and Generative AI
14
+ st.markdown("<h2 style='color: #2C3E50;'>AI vs ML vs DL vs Generative AI</h2>", unsafe_allow_html=True)
15
 
16
  image_url = "https://huggingface.co/spaces/varshitha22/ML/resolve/main/images/im1.jpg"
17
 
18
  st.markdown(
19
  f"""
20
  <div style="display: flex; justify-content: center;">
21
+ <img src="{image_url}" alt="AI vs ML vs DL vs Generative AI" width="800">
22
  </div>
23
  """,
24
  unsafe_allow_html=True
 
36
  <li><b>Artificial Satellites</b>: A man-made object that orbits Earth or other planets. These are built for specific purposes like communication, navigation, weather monitoring, and research.</li>
37
  <li><b>Artificial Flowers</b>: These are man-made replicas of real flowers, crafted using materials like silk, plastic, or fabric. They are used for decoration, religious ceremonies, events, and artistic arrangements.</li>
38
  </ul>
39
+ </div>
40
+ """, unsafe_allow_html=True)
41
 
42
  # Section 2: Intelligence
43
  st.markdown("<h2 style='color: #8E44AD; font-size: 30px; font-weight: bold;'> Intelligence :</h2>", unsafe_allow_html=True)
 
51
  <li>The child sees a dog for the first time and hears their parents say, “This is a dog.”</li>
52
  <li>The child observes its shape, fur, barking sound, and movement.</li>
53
  </ul>
54
+ """, unsafe_allow_html=True)
55
 
56
  # Section 3: Artificial Intelligence (AI)
57
  st.markdown("<h2 style='color: #F39C12; font-size: 30px; font-weight: bold;'> Artificial Intelligence (AI) :</h2>", unsafe_allow_html=True)
 
75
  <ul style='font-size: 24px;'>
76
  <li><b>Siri, Alexa, and Google Assistant:</b> These AI systems process natural language to answer questions.</li>
77
  </ul>
78
+ """, unsafe_allow_html=True)
79
 
80
  # Section 4: Techniques and Tools for AI
81
  st.markdown("<h2 style='color: #3498DB; font-size: 30px; font-weight: bold;'> Techniques and Tools for AI</h2>", unsafe_allow_html=True)
 
83
  <p style='font-size: 24px;'>
84
  If you want to mimic or clone human intelligence on a machine, there are several techniques and tools involved.
85
  </p>
86
+ """, unsafe_allow_html=True)
87
 
88
  # Image Section for Techniques and Tools
89
  image_url = "https://huggingface.co/spaces/varshitha22/ML/resolve/main/images/im2.jpg"
 
91
  st.markdown(
92
  f"""
93
  <div style="display: flex; justify-content: center;">
94
+ <img src="{image_url}" alt="AI Techniques and Tools" width="900">
95
  </div>
96
  """,
97
  unsafe_allow_html=True
98
  )
99
+
100
  # Section: Machine Learning
101
  st.markdown("""
102
  <div style='background: linear-gradient(to right, #E1F5FE, #FCE4EC); padding: 25px; border-radius: 12px; box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);'>
 
122
  <li><b>Object Detection & Sentiment Analysis:</b> Used in computer vision and NLP applications like fraud detection, emotion analysis.</li>
123
  </ul>
124
  </div>
125
+ """, unsafe_allow_html=True)
126
 
127
  # Section: Deep Learning
128
  st.markdown("""
 
133
  </p>
134
  <p style='font-size: 24px;'>These neural networks are composed of multiple layers (hence the term “deep”) that enable the model to automatically extract features from the data.</p>
135
  </div>
136
+ """, unsafe_allow_html=True)
137
 
138
  # Section: Generative AI
139
  st.markdown("""
 
143
  <b>Generative AI</b> refers to the branch of AI that focuses on creating new content, such as images, music, text, or videos, that is indistinguishable from human-created content.
144
  </p>
145
  </div>
146
+ """, unsafe_allow_html=True)
147
 
148
  # Section: Relationship Between AI, ML, DL, and Generative AI
149
  st.markdown("""
 
157
  <li><b>Generative AI:</b> A creative branch of DL that generates new content.</li>
158
  </ul>
159
  </div>
160
+ """, unsafe_allow_html=True)