Update app.py
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:
|
61 |
return result[0]["label"], result[0]["score"], str("WHOA!!!!"), face, dffImage, gradCamImage
|
62 |
else:
|
63 |
-
return
|
64 |
|
65 |
iface = gr.Interface(
|
66 |
fn=classify_image,
|
|
|
60 |
elif result[0]["label"] == "pos" and result[0]["score"] > 0.95:
|
61 |
return result[0]["label"], result[0]["score"], str("WHOA!!!!"), face, dffImage, gradCamImage
|
62 |
else:
|
63 |
+
return cls, result[0]["score"], "Indifferent", face, dffImage, gradCamImage
|
64 |
|
65 |
iface = gr.Interface(
|
66 |
fn=classify_image,
|