style edit
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def classify_image(input):
|
|
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.99:
|
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
|
66 |
|
|
|
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.99:
|
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
|
66 |
|