KayDee03 commited on
Commit
0e754a5
1 Parent(s): ee83ef2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -20,4 +20,5 @@ def image_classifier(inp):
20
  confidence_scores /= np.sum(confidence_scores)
21
  classes = ['Avocado', 'Banana', 'Guava', 'Mango']
22
  result = {classes[i]: confidence_scores[i] for i in range(4)}
23
- return result
 
 
20
  confidence_scores /= np.sum(confidence_scores)
21
  classes = ['Avocado', 'Banana', 'Guava', 'Mango']
22
  result = {classes[i]: confidence_scores[i] for i in range(4)}
23
+ return result
24
+