2lu commited on
Commit
cb40d47
·
verified ·
1 Parent(s): 8632307

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -140,7 +140,8 @@ def give_result(cc_prior_image, mlo_prior_image, cc_recent_image, mlo_recent_ima
140
  stage1_res = stage1_run(cc_diff_img, mlo_diff_img)
141
 
142
  if(stage1_res<0.4):
143
- return f"Normal, you have {1-stage1_res} chance of being suspecious."
 
144
 
145
  stage2_res = stage2_run(cc_diff_img, mlo_diff_img)
146
  if(stage2_res<0.4):
 
140
  stage1_res = stage1_run(cc_diff_img, mlo_diff_img)
141
 
142
  if(stage1_res<0.4):
143
+ res = stage1_res.numpy()
144
+ return f"Normal, you have {1-res} chance of being suspecious."
145
 
146
  stage2_res = stage2_run(cc_diff_img, mlo_diff_img)
147
  if(stage2_res<0.4):