DOMMETI commited on
Commit
7454ffb
·
verified ·
1 Parent(s): efcf375

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -4
app.py CHANGED
@@ -19,24 +19,31 @@ st.markdown("""
19
  color: #1f77b4;
20
  font-family: 'Roboto', sans-serif;
21
  font-weight: bold;
 
22
  }
23
  h3 {
24
  color: #6c757d;
25
  font-family: 'Roboto', sans-serif;
 
26
  }
27
  .custom-subheader {
28
  color: #2ca02c;
29
  font-family: 'Roboto', sans-serif;
30
- margin-bottom: 0;
31
  }
32
  p {
33
  font-family: 'Georgia', serif;
34
  line-height: 1.6;
35
  color: #343a40;
 
36
  }
37
  .icon-bullet {
38
  list-style-type: none;
39
  padding-left: 0;
 
 
 
 
40
  }
41
  .icon-bullet li::before {
42
  content: "✔️";
@@ -61,7 +68,8 @@ st.subheader(":blue[DATA]")
61
 
62
  st.markdown("""
63
  Data is a collection of information gathered from observation. There are many sources of information. Below are some examples:
64
- """)
 
65
  st.markdown("""
66
  <ul class="icon-bullet">
67
  <li>IMAGE</li>
@@ -81,6 +89,7 @@ st.markdown("""
81
  <li>STRUCTURED QUERY LANGUAGE DATABASE</li>
82
  </ul>
83
  """, unsafe_allow_html=True)
 
84
  st.image('https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/dSbyOXaQ6N_Kg2TLxgEyt.png', width=400)
85
 
86
  # Visualization example for Structured Data
@@ -108,6 +117,7 @@ st.markdown("""
108
  <li>Social Media Feeds</li>
109
  </ul>
110
  """, unsafe_allow_html=True)
 
111
  st.image("https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/xhaNBRanDaj8esumqo9hl.png", width=400)
112
 
113
  st.subheader("**Semi-Structured Data**")
@@ -120,13 +130,14 @@ st.markdown("""
120
  <li>HTML</li>
121
  </ul>
122
  """, unsafe_allow_html=True)
 
123
  st.image("https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/Nupc6BePInRVo9gJwLfWH.png", width=400)
124
 
125
  # Introduction to Statistics
126
  st.title("2 : INTRODUCTION TO STATISTICS")
127
  st.markdown("""
128
  _Statistics is a branch of mathematics focused on collecting, analyzing, interpreting, and structuring data. It is classified into two types:_
129
- """)
130
 
131
  # Descriptive Statistics Section with interactive elements
132
  st.subheader("2.1 Descriptive Statistics")
@@ -148,4 +159,4 @@ st.write(f"Mean Value: {mean_value}")
148
  st.subheader("2.2 Inferential Statistics")
149
  st.markdown("""
150
  Inferential Statistics makes predictions about a population based on sample data.
151
- """)
 
19
  color: #1f77b4;
20
  font-family: 'Roboto', sans-serif;
21
  font-weight: bold;
22
+ margin-top: 20px;
23
  }
24
  h3 {
25
  color: #6c757d;
26
  font-family: 'Roboto', sans-serif;
27
+ margin-top: 15px;
28
  }
29
  .custom-subheader {
30
  color: #2ca02c;
31
  font-family: 'Roboto', sans-serif;
32
+ margin-bottom: 10px;
33
  }
34
  p {
35
  font-family: 'Georgia', serif;
36
  line-height: 1.6;
37
  color: #343a40;
38
+ margin-bottom: 15px;
39
  }
40
  .icon-bullet {
41
  list-style-type: none;
42
  padding-left: 0;
43
+ margin-bottom: 15px;
44
+ }
45
+ .icon-bullet li {
46
+ margin-bottom: 8px;
47
  }
48
  .icon-bullet li::before {
49
  content: "✔️";
 
68
 
69
  st.markdown("""
70
  Data is a collection of information gathered from observation. There are many sources of information. Below are some examples:
71
+ """, unsafe_allow_html=True)
72
+
73
  st.markdown("""
74
  <ul class="icon-bullet">
75
  <li>IMAGE</li>
 
89
  <li>STRUCTURED QUERY LANGUAGE DATABASE</li>
90
  </ul>
91
  """, unsafe_allow_html=True)
92
+
93
  st.image('https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/dSbyOXaQ6N_Kg2TLxgEyt.png', width=400)
94
 
95
  # Visualization example for Structured Data
 
117
  <li>Social Media Feeds</li>
118
  </ul>
119
  """, unsafe_allow_html=True)
120
+
121
  st.image("https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/xhaNBRanDaj8esumqo9hl.png", width=400)
122
 
123
  st.subheader("**Semi-Structured Data**")
 
130
  <li>HTML</li>
131
  </ul>
132
  """, unsafe_allow_html=True)
133
+
134
  st.image("https://cdn-uploads.huggingface.co/production/uploads/64c972774515835c4dadd754/Nupc6BePInRVo9gJwLfWH.png", width=400)
135
 
136
  # Introduction to Statistics
137
  st.title("2 : INTRODUCTION TO STATISTICS")
138
  st.markdown("""
139
  _Statistics is a branch of mathematics focused on collecting, analyzing, interpreting, and structuring data. It is classified into two types:_
140
+ """, unsafe_allow_html=True)
141
 
142
  # Descriptive Statistics Section with interactive elements
143
  st.subheader("2.1 Descriptive Statistics")
 
159
  st.subheader("2.2 Inferential Statistics")
160
  st.markdown("""
161
  Inferential Statistics makes predictions about a population based on sample data.
162
+ """, unsafe_allow_html=True)