varshitha22 commited on
Commit
9fb15cd
ยท
verified ยท
1 Parent(s): 8aa7360

Update pages/pg.py

Browse files
Files changed (1) hide show
  1. pages/pg.py +13 -8
pages/pg.py CHANGED
@@ -2,16 +2,16 @@ import streamlit as st
2
 
3
  # Set page configuration
4
  st.set_page_config(
5
- page_title="Understanding Artificial Intelligence and Intelligence",
6
  page_icon="๐Ÿค–",
7
  layout="wide"
8
  )
9
 
10
  # Main Title
11
- st.markdown("<h1 style='text-align: center; color: #FF5733;'>๐ŸŒŸ Introduction to AI,Ml,DL 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='text-align: center; color: #F39C12;'>๐Ÿ”น 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
 
@@ -25,7 +25,7 @@ st.markdown(
25
  )
26
 
27
  # Section 1: Artificial
28
- st.markdown("<h2 style='color: #E67E22; font-size: 22px; font-weight: bold;'>๐Ÿ”น 1. What is Artificial?</h2>", unsafe_allow_html=True)
29
  st.write("""
30
  The term **artificial** refers to anything that is not naturally occurring and is created by humans.
31
 
@@ -35,7 +35,7 @@ The term **artificial** refers to anything that is not naturally occurring and i
35
  """)
36
 
37
  # Section 2: Intelligence
38
- st.markdown("<h2 style='color: #E67E22; font-size: 22px; font-weight: bold;'>๐Ÿ”น 2. What is Intelligence?</h2>", unsafe_allow_html=True)
39
  st.write("""
40
  **Intelligence** is the ability to think, learn, understand, reason, and make decisions.
41
 
@@ -48,7 +48,7 @@ Imagine a child learning to recognize different animals.
48
  """)
49
 
50
  # Section 3: Artificial Intelligence (AI)
51
- st.markdown("<h2 style='color: #E67E22; font-size: 22px; font-weight: bold;'>๐Ÿ”น 3. What is Artificial Intelligence (AI)?</h2>", unsafe_allow_html=True)
52
  st.write("""
53
  **Artificial Intelligence (AI)** 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.
54
 
@@ -66,10 +66,14 @@ st.write("""
66
  """)
67
 
68
  # Section 4: Techniques and Tools for AI
69
- st.markdown("<h2 style='color: #E67E22; font-size: 22px; font-weight: bold;'>๐Ÿ”น 4. Techniques and Tools for AI</h2>", unsafe_allow_html=True)
70
  st.write("""
71
  If you want to mimic or clone human intelligence on a machine, there are several techniques and tools involved.
72
  These include:
 
 
 
 
73
  """)
74
 
75
  # Image Section for Techniques and Tools
@@ -85,7 +89,7 @@ st.markdown(
85
  )
86
 
87
  # Section 5: Summary
88
- st.markdown("<h2 style='color: #E67E22; font-size: 22px; font-weight: bold;'>๐Ÿ”น 5. Summary</h2>", unsafe_allow_html=True)
89
  st.write("""
90
  In conclusion, Artificial Intelligence is a powerful tool that mimics human intelligence to perform tasks autonomously.
91
  From understanding natural language to learning from data, AI systems have the potential to revolutionize many industries,
@@ -95,3 +99,4 @@ AI's ability to mimic natural intelligence is leading to advancements like self-
95
  """)
96
 
97
 
 
 
2
 
3
  # Set page configuration
4
  st.set_page_config(
5
+ page_title="Exploring AI, ML, DL, and Generative AI",
6
  page_icon="๐Ÿค–",
7
  layout="wide"
8
  )
9
 
10
  # Main Title
11
+ st.markdown("<h1 style='text-align: center; 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='text-align: center; 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
 
 
25
  )
26
 
27
  # Section 1: Artificial
28
+ st.markdown("<h2 style='color: #1ABC9C; font-size: 22px; font-weight: bold;'>๐Ÿ”น 1. What is Artificial?</h2>", unsafe_allow_html=True)
29
  st.write("""
30
  The term **artificial** refers to anything that is not naturally occurring and is created by humans.
31
 
 
35
  """)
36
 
37
  # Section 2: Intelligence
38
+ st.markdown("<h2 style='color: #8E44AD; font-size: 22px; font-weight: bold;'>๐Ÿ”น 2. What is Intelligence?</h2>", unsafe_allow_html=True)
39
  st.write("""
40
  **Intelligence** is the ability to think, learn, understand, reason, and make decisions.
41
 
 
48
  """)
49
 
50
  # Section 3: Artificial Intelligence (AI)
51
+ st.markdown("<h2 style='color: #F39C12; font-size: 22px; font-weight: bold;'>๐Ÿ”น 3. What is Artificial Intelligence (AI)?</h2>", unsafe_allow_html=True)
52
  st.write("""
53
  **Artificial Intelligence (AI)** 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.
54
 
 
66
  """)
67
 
68
  # Section 4: Techniques and Tools for AI
69
+ st.markdown("<h2 style='color: #3498DB; font-size: 22px; font-weight: bold;'>๐Ÿ”น 4. Techniques and Tools for AI</h2>", unsafe_allow_html=True)
70
  st.write("""
71
  If you want to mimic or clone human intelligence on a machine, there are several techniques and tools involved.
72
  These include:
73
+ - **Neural Networks**: Designed to simulate how the human brain works, used in tasks like image recognition.
74
+ - **Deep Learning Frameworks**: Frameworks such as TensorFlow, PyTorch, and Keras make building deep learning models more efficient.
75
+ - **Natural Language Processing (NLP)**: Allows machines to understand and process human language, as used in chatbots and virtual assistants.
76
+ - **Reinforcement Learning**: A type of machine learning where an agent learns to behave in an environment by performing actions and receiving rewards.
77
  """)
78
 
79
  # Image Section for Techniques and Tools
 
89
  )
90
 
91
  # Section 5: Summary
92
+ st.markdown("<h2 style='color: #2C3E50; font-size: 22px; font-weight: bold;'>๐Ÿ”น 5. Summary</h2>", unsafe_allow_html=True)
93
  st.write("""
94
  In conclusion, Artificial Intelligence is a powerful tool that mimics human intelligence to perform tasks autonomously.
95
  From understanding natural language to learning from data, AI systems have the potential to revolutionize many industries,
 
99
  """)
100
 
101
 
102
+