Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def classify_image(inp):
|
|
| 44 |
result[label] = float(predicted_class_indices[i])
|
| 45 |
except KeyError:
|
| 46 |
print(f"KeyError: Label not found for index {predicted_class_indices[i]}")
|
| 47 |
-
return prediction
|
| 48 |
|
| 49 |
|
| 50 |
|
|
|
|
| 44 |
result[label] = float(predicted_class_indices[i])
|
| 45 |
except KeyError:
|
| 46 |
print(f"KeyError: Label not found for index {predicted_class_indices[i]}")
|
| 47 |
+
return f"{prediction}..{predicted_class_indices}"
|
| 48 |
|
| 49 |
|
| 50 |
|