Spaces:
Runtime error
Runtime error
add implementation/interface
Browse files
app.py
CHANGED
|
@@ -18,6 +18,6 @@ def classify(im):
|
|
| 18 |
return confidences
|
| 19 |
|
| 20 |
interface = gr.Interface(fn=classify, inputs=gr.Image(shape=(200, 200)), outputs=gr.outputs.Label(num_top_classes=3),
|
| 21 |
-
examples=['leaf1.png', 'leaf2.png'], title='Leaf Classification App', description='Check if the leaves of your plant are healthy!', flagging_dir='flagged_examples/')
|
| 22 |
|
| 23 |
interface.launch(debug=True)
|
|
|
|
| 18 |
return confidences
|
| 19 |
|
| 20 |
interface = gr.Interface(fn=classify, inputs=gr.Image(shape=(200, 200)), outputs=gr.outputs.Label(num_top_classes=3),
|
| 21 |
+
examples=['leaf1.png', 'leaf2.png', 'leaf3.png', 'leaf4.png'], title='Leaf Classification App', description='Check if the leaves of your plant are healthy!', flagging_dir='flagged_examples/')
|
| 22 |
|
| 23 |
interface.launch(debug=True)
|
leaf3.jpg
ADDED
|
leaf4.jpg
ADDED
|