SANJAYV10 commited on
Commit
6699b70
1 Parent(s): 66ea44e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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": class_names[prediction]}
 
72
  # Return the top N class names and their probabilities in JSON format
73
 
74
 
75
+ return {"predictions": prediction}