Update main.py
Browse files
main.py
CHANGED
@@ -52,6 +52,6 @@ async def predict(file: UploadFile):
|
|
52 |
confidence = predictions[0][0]
|
53 |
|
54 |
return {
|
55 |
-
'class': predicted_class,
|
56 |
"confidence": float(confidence)
|
57 |
}
|
|
|
52 |
confidence = predictions[0][0]
|
53 |
|
54 |
return {
|
55 |
+
'class': predicted_class,
|
56 |
"confidence": float(confidence)
|
57 |
}
|