Update app.py
#1
by
sadickam
- opened
app.py
CHANGED
|
@@ -309,17 +309,17 @@ if submitted:
|
|
| 309 |
with tab4:
|
| 310 |
# subcatNames
|
| 311 |
st.header("")
|
| 312 |
-
predicted_1 = st.metric("Predicted SubCatName", sorted_preds_1[0][0])
|
| 313 |
Prediction_confidence_1 = st.metric("Prediction confidence", (str(round(sorted_preds_1[0][1] * 100, 1)) + "%"))
|
| 314 |
|
| 315 |
#ExtraOver
|
| 316 |
st.header("")
|
| 317 |
-
predicted_2 = st.metric("Predicted ExtraOver", sorted_preds_2[0][0])
|
| 318 |
Prediction_confidence_2 = st.metric("Prediction confidence", (str(round(sorted_preds_2[0][1] * 100, 1)) + "%"))
|
| 319 |
|
| 320 |
# Conversion_factor
|
| 321 |
st.header("")
|
| 322 |
-
predicted_3 = st.metric("Predicted Conversion_factor", sorted_preds_3[0][0])
|
| 323 |
Prediction_confidence_3 = st.metric("Prediction confidence", (str(round(sorted_preds_3[0][1] * 100, 1)) + "%"))
|
| 324 |
|
| 325 |
-
st.success("Great! Predictions successfully
|
|
|
|
| 309 |
with tab4:
|
| 310 |
# subcatNames
|
| 311 |
st.header("")
|
| 312 |
+
predicted_1 = st.metric("➡️ Predicted SubCatName", sorted_preds_1[0][0])
|
| 313 |
Prediction_confidence_1 = st.metric("Prediction confidence", (str(round(sorted_preds_1[0][1] * 100, 1)) + "%"))
|
| 314 |
|
| 315 |
#ExtraOver
|
| 316 |
st.header("")
|
| 317 |
+
predicted_2 = st.metric("➡️ Predicted ExtraOver", sorted_preds_2[0][0])
|
| 318 |
Prediction_confidence_2 = st.metric("Prediction confidence", (str(round(sorted_preds_2[0][1] * 100, 1)) + "%"))
|
| 319 |
|
| 320 |
# Conversion_factor
|
| 321 |
st.header("")
|
| 322 |
+
predicted_3 = st.metric("➡️ Predicted Conversion_factor", sorted_preds_3[0][0])
|
| 323 |
Prediction_confidence_3 = st.metric("Prediction confidence", (str(round(sorted_preds_3[0][1] * 100, 1)) + "%"))
|
| 324 |
|
| 325 |
+
st.success("Great! Predictions successfully completed. ", icon="✅")
|