Add log message for hair
Browse files
app.py
CHANGED
@@ -115,6 +115,7 @@ def predict_fn(input_img):
|
|
115 |
# get decision string
|
116 |
if result_probabilty > 0.77:
|
117 |
if hair_result_probabilty < 0.5:
|
|
|
118 |
result_probabilty = hair_result_probabilty
|
119 |
decision = "AUTO REJECT"
|
120 |
else:
|
|
|
115 |
# get decision string
|
116 |
if result_probabilty > 0.77:
|
117 |
if hair_result_probabilty < 0.5:
|
118 |
+
logger.info("hair_result_probabilty < 0.5")
|
119 |
result_probabilty = hair_result_probabilty
|
120 |
decision = "AUTO REJECT"
|
121 |
else:
|