add green background
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def predict(model, input_df):
|
|
26 |
amputation_risk = "NO"
|
27 |
amputation_risk_output = "AMPUTATION RISK: " + amputation_risk
|
28 |
score_output = "SCORE: "+str(predict_score)
|
29 |
-
html = "<div style='background-color:
|
30 |
|
31 |
return html#"AMPUTATION RISK: " + amputation_risk + " SCORE: "+str(predict_score)
|
32 |
|
|
|
26 |
amputation_risk = "NO"
|
27 |
amputation_risk_output = "AMPUTATION RISK: " + amputation_risk
|
28 |
score_output = "SCORE: "+str(predict_score)
|
29 |
+
html = "<div style='background-color:rgba(16, 185, 129, var(--tw-bg-opacity));color:white;'>" + amputation_risk_output + "<br><br>" + score_output + "</div>"
|
30 |
|
31 |
return html#"AMPUTATION RISK: " + amputation_risk + " SCORE: "+str(predict_score)
|
32 |
|