Update app.py
Browse files
app.py
CHANGED
@@ -71,12 +71,12 @@ def predict(path):
|
|
71 |
|
72 |
gr.Interface(
|
73 |
fn=predict,
|
74 |
-
inputs=gr.Image(),
|
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()
|
|
|
71 |
|
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()
|