Update app.py
Browse files
app.py
CHANGED
@@ -17,8 +17,8 @@ def classify_image(img):
|
|
17 |
|
18 |
|
19 |
|
20 |
-
image = gr.
|
21 |
-
label = gr.
|
22 |
examples = ['laughing.jpg', 'dancing.jpg', 'drinking.jpg']
|
23 |
|
24 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
|
|
17 |
|
18 |
|
19 |
|
20 |
+
image = gr.Image(shape=(192,192))
|
21 |
+
label = gr.Label()
|
22 |
examples = ['laughing.jpg', 'dancing.jpg', 'drinking.jpg']
|
23 |
|
24 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|