Spaces:
Paused
Paused
Commit
•
4ed9206
1
Parent(s):
3c96612
Update app.py
Browse files
app.py
CHANGED
@@ -78,7 +78,7 @@ def process_input(image_path):
|
|
78 |
#return names, probs
|
79 |
return {names[i]: float(probs[i]) for i in range(len(names))}
|
80 |
|
81 |
-
examples = ['16_image_06670.jpg','33_image_06460.jpg','80_image_02020.jpg']
|
82 |
title = "Image Classifier - Which species of Flower?"
|
83 |
description = "An image classifier to recognize different species of flowers trained on 102 Category Flower Dataset"
|
84 |
article = article="<p style='text-align: center'><a href='https://www.robots.ox.ac.uk/~vgg/data/flowers/102/index.html' target='_blank'>Source 102 Flower Dataset</a></p>"
|
|
|
78 |
#return names, probs
|
79 |
return {names[i]: float(probs[i]) for i in range(len(names))}
|
80 |
|
81 |
+
examples = ['16_image_06670.jpg','33_image_06460.jpg','80_image_02020.jpg', 'Flowers.png','inference_example.png']
|
82 |
title = "Image Classifier - Which species of Flower?"
|
83 |
description = "An image classifier to recognize different species of flowers trained on 102 Category Flower Dataset"
|
84 |
article = article="<p style='text-align: center'><a href='https://www.robots.ox.ac.uk/~vgg/data/flowers/102/index.html' target='_blank'>Source 102 Flower Dataset</a></p>"
|