GMARTINEZMILLA commited on
Commit
7672a6d
·
1 Parent(s): b3dec0c

feat: updated website

Browse files
Files changed (1) hide show
  1. app.py +24 -0
app.py CHANGED
@@ -199,6 +199,30 @@ if page == "Summary":
199
  </div>
200
  """, unsafe_allow_html=True)
201
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
  # Middle Column (White): 3D Cluster Model and Bar Chart
203
  with col2:
204
  st.markdown('#### 3D Customer Clusters')
 
199
  </div>
200
  """, unsafe_allow_html=True)
201
 
202
+ with col_metric2:
203
+ st.markdown(f"""
204
+ <div style="background-color:{metric_box_color}; padding: 20px; border-radius: 10px;">
205
+ <h4 style="color:{primary_color}; text-align: center;">Silhouette Score</h4>
206
+ <h2 style="color:{text_color}; text-align: center;">0.57744</h2>
207
+ </div>
208
+ """, unsafe_allow_html=True)
209
+
210
+ col_metric3, col_metric4 = st.columns(2)
211
+ with col_metric3:
212
+ st.markdown(f"""
213
+ <div style="background-color:{metric_box_color}; padding: 20px; border-radius: 10px;">
214
+ <h4 style="color:{primary_color}; text-align: center;">Calinski-Harabasz Score</h4>
215
+ <h2 style="color:{text_color}; text-align: center;">422.98</h2>
216
+ </div>
217
+ """, unsafe_allow_html=True)
218
+
219
+ with col_metric4:
220
+ st.markdown(f"""
221
+ <div style="background-color:{metric_box_color}; padding: 20px; border-radius: 10px;">
222
+ <h4 style="color:{primary_color}; text-align: center;">Davies-Bouldin Score</h4>
223
+ <h2 style="color:{text_color}; text-align: center;">0.63446</h2>
224
+ </div>
225
+ """, unsafe_allow_html=True)
226
  # Middle Column (White): 3D Cluster Model and Bar Chart
227
  with col2:
228
  st.markdown('#### 3D Customer Clusters')