Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -72,4 +72,4 @@ async def predict_endpoint(input: fastapi.UploadFile):
|
|
72 |
# Return the top N class names and their probabilities in JSON format
|
73 |
|
74 |
|
75 |
-
return {"predictions":
|
|
|
72 |
# Return the top N class names and their probabilities in JSON format
|
73 |
|
74 |
|
75 |
+
return {"predictions": prediction}
|