remove background transparent
Browse files
app.py
CHANGED
|
@@ -20,11 +20,11 @@ def predict(model, input_df):
|
|
| 20 |
if predict_label == 1:
|
| 21 |
amputation_risk = "YES"
|
| 22 |
output = "AMPUTATION RISK: " + amputation_risk + " SCORE: "+str(predict_score)
|
| 23 |
-
html = "<div style='background-color:red;color:white'>" + output + "</div>"
|
| 24 |
else:
|
| 25 |
amputation_risk = "NO"
|
| 26 |
output = "AMPUTATION RISK: " + amputation_risk + " SCORE: "+str(predict_score)
|
| 27 |
-
html = "<div style='background-color:green;color:white'>" + output + "</div>"
|
| 28 |
|
| 29 |
|
| 30 |
return html#"AMPUTATION RISK: " + amputation_risk + " SCORE: "+str(predict_score)
|
|
|
|
| 20 |
if predict_label == 1:
|
| 21 |
amputation_risk = "YES"
|
| 22 |
output = "AMPUTATION RISK: " + amputation_risk + " SCORE: "+str(predict_score)
|
| 23 |
+
html = "<div style='background-color:red;color:white;'>" + output + "</div>"
|
| 24 |
else:
|
| 25 |
amputation_risk = "NO"
|
| 26 |
output = "AMPUTATION RISK: " + amputation_risk + " SCORE: "+str(predict_score)
|
| 27 |
+
html = "<div style='background-color:green;color:white;'>" + output + "</div>"
|
| 28 |
|
| 29 |
|
| 30 |
return html#"AMPUTATION RISK: " + amputation_risk + " SCORE: "+str(predict_score)
|