capofwesh20 commited on
Commit
714f6cb
·
1 Parent(s): 3ed58f9
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -27,7 +27,7 @@ sample_images=[['https://s3.amazonaws.com/moonup/production/uploads/166393328435
27
 
28
  title = 'Bean Leaf Classifier'
29
  description = 'This model is trained for beans leaf classification but might give a false result on other leaves'
30
- interface = gr.Interface(classify, gr.Image(shape=(200, 200)), 'label',
31
  title = title,
32
  description = description,
33
  examples=sample_images)
@@ -35,3 +35,4 @@ interface = gr.Interface(classify, gr.Image(shape=(200, 200)), 'label',
35
  interface.launch()
36
 
37
 
 
 
27
 
28
  title = 'Bean Leaf Classifier'
29
  description = 'This model is trained for beans leaf classification but might give a false result on other leaves'
30
+ interface = gr.Interface(fn = classify, inputs = gr.Image(shape=(200, 200)), outputs= 'label',
31
  title = title,
32
  description = description,
33
  examples=sample_images)
 
35
  interface.launch()
36
 
37
 
38
+