Spaces:
Sleeping
Sleeping
fix
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def predict_image(image):
|
|
65 |
|
66 |
confidence_score = confidence.item() * 100
|
67 |
|
68 |
-
if confidence_score <
|
69 |
result = "Not identified"
|
70 |
html_result = ""
|
71 |
else:
|
|
|
65 |
|
66 |
confidence_score = confidence.item() * 100
|
67 |
|
68 |
+
if confidence_score < 30:
|
69 |
result = "Not identified"
|
70 |
html_result = ""
|
71 |
else:
|