Update app.py
Browse files
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 = ['
|
13 |
-
'
|
14 |
-
'
|
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)"
|