add contact
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def predict(model, input_df):
|
|
17 |
predictions_df = predict_model(estimator=model, data=input_df)
|
18 |
predict_label = predictions_df["Label"][0] # either 1 (amputation yes) or 0 (amputation no)
|
19 |
predict_score = predictions_df["Score"][0] # the prediction (accuracy)
|
20 |
-
return "AMPUTATION RISK:" + str(predict_label) + " SCORE: "+str(predict_score)
|
21 |
|
22 |
|
23 |
|
@@ -53,7 +53,7 @@ title = "DIabetes-related Amputation Risk Calculator (DIARC)"
|
|
53 |
|
54 |
description = "A diabetes-related amputation machine learning model trained on the diabetes dataset from the Inkosi Albert Luthuli Central Hospital (IALCH) in Durban, KwaZulu-Natal, South Africa."
|
55 |
|
56 |
-
article = "<p style='text-align: center'><span style='font-size: 15pt;'>© DIARC. 2021. All Rights Reserved
|
57 |
|
58 |
|
59 |
|
|
|
17 |
predictions_df = predict_model(estimator=model, data=input_df)
|
18 |
predict_label = predictions_df["Label"][0] # either 1 (amputation yes) or 0 (amputation no)
|
19 |
predict_score = predictions_df["Score"][0] # the prediction (accuracy)
|
20 |
+
return "AMPUTATION RISK: " + str(predict_label) + " SCORE: "+str(predict_score)
|
21 |
|
22 |
|
23 |
|
|
|
53 |
|
54 |
description = "A diabetes-related amputation machine learning model trained on the diabetes dataset from the Inkosi Albert Luthuli Central Hospital (IALCH) in Durban, KwaZulu-Natal, South Africa."
|
55 |
|
56 |
+
article = "<p style='text-align: center'><span style='font-size: 15pt;'>© DIARC. 2021. All Rights Reserved. Contact: <a href='mailto:[email protected]'>Dr Sifisiso Mtshali</a></span></p>"
|
57 |
|
58 |
|
59 |
|