schrilax commited on
Commit
04505d6
1 Parent(s): 380a841

add implementation/interface

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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', '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)
 
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.jpg', 'leaf4.jpg'], title='Leaf Classification App', description='Check if the leaves of your plant are healthy!', flagging_dir='flagged_examples/')
22
 
23
  interface.launch(debug=True)