Update app.py
Browse files
app.py
CHANGED
@@ -22,8 +22,8 @@ def classify_image(img):
|
|
22 |
|
23 |
|
24 |
|
25 |
-
image = gr.
|
26 |
-
label = gr.
|
27 |
examples = ['ednar.jpg', 'maggie.jpg', 'bart.jpg']
|
28 |
|
29 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
|
|
22 |
|
23 |
|
24 |
|
25 |
+
image = gr.Image(shape=(192,192))
|
26 |
+
label = gr.Label()
|
27 |
examples = ['ednar.jpg', 'maggie.jpg', 'bart.jpg']
|
28 |
|
29 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|