issue fix
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def classify_image(input):
|
|
59 |
return result[0]["label"], result[0]["score"], "Pretty!", face, dffImage, gradCamImage
|
60 |
elif result[0]["label"] == "pos" and result[0]["score"] > 0.95 and result[0]["score"] <= 0.98:
|
61 |
return result[0]["label"], result[0]["score"], "WHOA!!!!", face, dffImage, gradCamImage
|
62 |
-
elif result[0]["label"] == "pos" and result[0]["score"]
|
63 |
return result[0]["label"], result[0]["score"], "** ABSOLUTELY MINDBLOWING **", face, dffImage, gradCamImage
|
64 |
else:
|
65 |
return cls, result[0]["score"], "Indifferent", face, dffImage, gradCamImage
|
|
|
59 |
return result[0]["label"], result[0]["score"], "Pretty!", face, dffImage, gradCamImage
|
60 |
elif result[0]["label"] == "pos" and result[0]["score"] > 0.95 and result[0]["score"] <= 0.98:
|
61 |
return result[0]["label"], result[0]["score"], "WHOA!!!!", face, dffImage, gradCamImage
|
62 |
+
elif result[0]["label"] == "pos" and result[0]["score"] > 0.98:
|
63 |
return result[0]["label"], result[0]["score"], "** ABSOLUTELY MINDBLOWING **", face, dffImage, gradCamImage
|
64 |
else:
|
65 |
return cls, result[0]["score"], "Indifferent", face, dffImage, gradCamImage
|