Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
|
|
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):
|