Spaces:
Sleeping
Sleeping
typo fix
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def predict_image(image, model_choice):
|
|
77 |
confidence_score = confidence.item() * 100
|
78 |
|
79 |
if confidence_score < 30:
|
80 |
-
result = "Not identified
|
81 |
html_result = ""
|
82 |
else:
|
83 |
class_name = class_names[preds.item()]
|
|
|
77 |
confidence_score = confidence.item() * 100
|
78 |
|
79 |
if confidence_score < 30:
|
80 |
+
result = "Not identified"
|
81 |
html_result = ""
|
82 |
else:
|
83 |
class_name = class_names[preds.item()]
|