Truong-Phuc Nguyen
commited on
Commit
•
e833d1e
1
Parent(s):
603cf5e
Update Home.py
Browse files
Home.py
CHANGED
@@ -169,7 +169,7 @@ if predict:
|
|
169 |
X_6 = np.array([[vtn, vn, vcn, cl, ttp, ttt]])
|
170 |
X_6 = scaler_6.transform(X_6)
|
171 |
y_6 = clf_6.predict(X_6)
|
172 |
-
st.success(y_6)
|
173 |
y_pred_6 = convert_prediction(y_6)
|
174 |
# styled_text = f"<h3 style='text-align: center;'>We recommend you choosing <span style='color: red; font-weight: bold;'>{y_pred_6}</span> size!</h3>"
|
175 |
styled_text = f"<h3 style='text-align: center;'>You belong to <span style='color: red; font-weight: bold;'>{y_pred_6}</span> !</h3>"
|
|
|
169 |
X_6 = np.array([[vtn, vn, vcn, cl, ttp, ttt]])
|
170 |
X_6 = scaler_6.transform(X_6)
|
171 |
y_6 = clf_6.predict(X_6)
|
172 |
+
# st.success(y_6)
|
173 |
y_pred_6 = convert_prediction(y_6)
|
174 |
# styled_text = f"<h3 style='text-align: center;'>We recommend you choosing <span style='color: red; font-weight: bold;'>{y_pred_6}</span> size!</h3>"
|
175 |
styled_text = f"<h3 style='text-align: center;'>You belong to <span style='color: red; font-weight: bold;'>{y_pred_6}</span> !</h3>"
|