saifhmb commited on
Commit
210e627
·
unverified ·
1 Parent(s): 53aff22

Update st.metrics to st.metric

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -77,10 +77,10 @@ def main():
77
  '''
78
  st.markdown(multi)
79
  st.header("Model Metrics", divider = "gray")
80
- st.metrics(label = "Accuracy", value = acc)
81
- st.metrics(label = "Accuracy", value = acc)
82
- st.metrics(label = "Precision", value = ps)
83
- st.metrics(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")
 
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")