Update app.py
Browse files
app.py
CHANGED
|
@@ -72,5 +72,11 @@ def predict(path):
|
|
| 72 |
gr.Interface(
|
| 73 |
fn=predict,
|
| 74 |
inputs=gr.Image(shape=(224, 224)),
|
| 75 |
-
outputs=gr.Label(num_top_classes=5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
).launch()
|
|
|
|
| 72 |
gr.Interface(
|
| 73 |
fn=predict,
|
| 74 |
inputs=gr.Image(shape=(224, 224)),
|
| 75 |
+
outputs=gr.Label(num_top_classes=5),
|
| 76 |
+
examples=[
|
| 77 |
+
"Dalbergia oliveri.JPG",
|
| 78 |
+
"Eucalyptus.JPG",
|
| 79 |
+
"Khaya senegalensis.JPG",
|
| 80 |
+
"Syzygium nervosum.JPG",
|
| 81 |
+
]
|
| 82 |
).launch()
|