Spaces:
Runtime error
Runtime error
Ant
commited on
Commit
•
6cc34ac
1
Parent(s):
876f919
Update app.py
Browse files
app.py
CHANGED
@@ -16,4 +16,4 @@ def classify_image(image):
|
|
16 |
examples = [["leaf1.jpg"], ["leaf2.jpg"], ["leaf3.jpg"]]
|
17 |
|
18 |
# Load your interface with examples
|
19 |
-
gr.Interface(fn=classify_image, inputs=gr.
|
|
|
16 |
examples = [["leaf1.jpg"], ["leaf2.jpg"], ["leaf3.jpg"]]
|
17 |
|
18 |
# Load your interface with examples
|
19 |
+
gr.Interface(fn=classify_image, inputs=gr.Image(type="pil"), outputs=gr.outputs.Label, examples=examples).launch(debug=True)
|