Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ examples = ['330px-Orange_slug.jpg', 'Green_Snakes.jpg', 'Helix_pomatia_002.JPG'
|
|
19 |
|
20 |
gr.Interface(
|
21 |
predict,
|
22 |
-
inputs=gr.
|
23 |
-
outputs=gr.
|
24 |
title=title,
|
25 |
examples=examples,
|
26 |
description=description,
|
|
|
19 |
|
20 |
gr.Interface(
|
21 |
predict,
|
22 |
+
inputs=gr.components.Image(label="candidate", type="filepath"),
|
23 |
+
outputs=gr.components.Label(num_top_classes=3),
|
24 |
title=title,
|
25 |
examples=examples,
|
26 |
description=description,
|