Abdel commited on
Commit
8d3cd93
1 Parent(s): 8ac8695

Update app2.py

Browse files
Files changed (1) hide show
  1. app2.py +2 -2
app2.py CHANGED
@@ -115,13 +115,13 @@ def predict_survival(densites, diametres):
115
  if (pred[0]<pred[1]):
116
  html = (
117
  "<div style='max-width:100%; color:green; font-size: 20px; background-color:white; text-align:center; max-height:360px; overflow:auto'>"
118
- + "<br> <br> Vous pouvez poser l'implant (précison :"+str(int(pred[1]*100))+"%)<br> <br>"
119
  + "</div>"
120
  )
121
  else:
122
  html = (
123
  "<div style='max-width:100%; color:red; font-size: 20px; background-color:white; text-align:center; max-height:360px; overflow:auto'>"
124
- + "<br> <br> Vous ne pouvez pas poser l'implant (précison :"+str(int(pred[0]*100))+"%)<br> <br>"
125
  + "</div>"
126
  )
127
 
 
115
  if (pred[0]<pred[1]):
116
  html = (
117
  "<div style='max-width:100%; color:green; font-size: 20px; background-color:white; text-align:center; max-height:360px; overflow:auto'>"
118
+ + "<br> <br> Vous pouvez poser l'implant (précison : "+str(int(pred[1]*100))+"%)<br> <br>"
119
  + "</div>"
120
  )
121
  else:
122
  html = (
123
  "<div style='max-width:100%; color:red; font-size: 20px; background-color:white; text-align:center; max-height:360px; overflow:auto'>"
124
+ + "<br> <br> Vous ne pouvez pas poser l'implant (précison : "+str(int(pred[0]*100))+"%)<br> <br>"
125
  + "</div>"
126
  )
127