schrilax commited on
Commit
380a841
1 Parent(s): 2d627c2

add implementation/interface

Browse files
Files changed (3) hide show
  1. app.py +1 -1
  2. leaf3.jpg +0 -0
  3. leaf4.jpg +0 -0
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