Zakia commited on
Commit
5ba574c
1 Parent(s): 42345af

add green background

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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:green;color:white;'>" + amputation_risk_output + "<br><br>" + score_output + "</div>"
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