Truong-Phuc Nguyen
commited on
Update Home.py
Browse files
Home.py
CHANGED
@@ -178,7 +178,6 @@ if predict:
|
|
178 |
X_8 = np.array([[ttp, cl, cnnp, vn, vtn, cnnt, cntp, vcn]])
|
179 |
X_8 = scaler_8.transform(X_8)
|
180 |
y_8 = clf_8.predict(X_8)
|
181 |
-
st.success(y_8)
|
182 |
y_pred_8 = convert_prediction(np.argmax(y_8, axis=1))
|
183 |
styled_text = f"<h3 style='text-align: center;'>We recommend you choosing <span style='color: red; font-weight: bold;'>{y_pred_8}</span> size!</h3>"
|
184 |
st.markdown(styled_text, unsafe_allow_html=True)
|
|
|
178 |
X_8 = np.array([[ttp, cl, cnnp, vn, vtn, cnnt, cntp, vcn]])
|
179 |
X_8 = scaler_8.transform(X_8)
|
180 |
y_8 = clf_8.predict(X_8)
|
|
|
181 |
y_pred_8 = convert_prediction(np.argmax(y_8, axis=1))
|
182 |
styled_text = f"<h3 style='text-align: center;'>We recommend you choosing <span style='color: red; font-weight: bold;'>{y_pred_8}</span> size!</h3>"
|
183 |
st.markdown(styled_text, unsafe_allow_html=True)
|