ChrisOlande commited on
Commit
56c9f16
·
verified ·
1 Parent(s): c9ed5a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -9,9 +9,9 @@ def predict(img):
9
  pred,pred_idx,probs = learn.predict(img)
10
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
11
 
12
- examples = ['/kaggle/input/butterfly-images40-species/test/ADONIS/1.jpg',
13
- '/kaggle/input/butterfly-images40-species/test/AFRICAN GIANT SWALLOWTAIL/2.jpg',
14
- '/kaggle/input/butterfly-images40-species/test/AMERICAN SNOOT/3.jpg']
15
  title = "ButterFly Image Classifier Classifier 🦋"
16
  description = "A ResNet18 feature extractor computer vision model to classify images of butterfly in 100 classes!."
17
  article = "[Chris Olande.](https://github.com/Chrisolande)"
 
9
  pred,pred_idx,probs = learn.predict(img)
10
  return {labels[i]: float(probs[i]) for i in range(len(labels))}
11
 
12
+ examples = ['adonis.jpg',
13
+ 'atlas moth.jpg',
14
+ 'american snoot.jpg']
15
  title = "ButterFly Image Classifier Classifier 🦋"
16
  description = "A ResNet18 feature extractor computer vision model to classify images of butterfly in 100 classes!."
17
  article = "[Chris Olande.](https://github.com/Chrisolande)"