saifhmb
commited on
Update st.metrics to st.metric
Browse files
app.py
CHANGED
@@ -77,10 +77,10 @@ def main():
|
|
77 |
'''
|
78 |
st.markdown(multi)
|
79 |
st.header("Model Metrics", divider = "gray")
|
80 |
-
st.
|
81 |
-
st.
|
82 |
-
st.
|
83 |
-
st.
|
84 |
|
85 |
st.markdown("To determine whether a customer will make a purchase, please **enter** the Age and Estimated Salary:")
|
86 |
Age = st.number_input("Age")
|
|
|
77 |
'''
|
78 |
st.markdown(multi)
|
79 |
st.header("Model Metrics", divider = "gray")
|
80 |
+
st.metric(label = "Accuracy", value = acc)
|
81 |
+
st.metric(label = "Accuracy", value = acc)
|
82 |
+
st.metric(label = "Precision", value = ps)
|
83 |
+
st.metric(label = "Recall", value = rs)
|
84 |
|
85 |
st.markdown("To determine whether a customer will make a purchase, please **enter** the Age and Estimated Salary:")
|
86 |
Age = st.number_input("Age")
|