sridiyer commited on
Commit
61e9988
1 Parent(s): fe3c1ab
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,8 +22,8 @@ def classify(im):
22
  # following dummy till i figure out how to upload custom saved model
23
 
24
  def classify1(im):
25
- label = {'leaf spot' : 0.9, 'rust' : 0.1}
26
- return label
27
 
28
  interface = interface = gr.Interface(classify1, inputs='image', outputs='label', title='Leaf Classification demo',
29
  description='Demo of fine-tuning a ViT for image classification based on the bean dataset classification') # FILL HERE
 
22
  # following dummy till i figure out how to upload custom saved model
23
 
24
  def classify1(im):
25
+ label = {'leaf spot' : 0.9, 'rust' : 0.1}
26
+ return label
27
 
28
  interface = interface = gr.Interface(classify1, inputs='image', outputs='label', title='Leaf Classification demo',
29
  description='Demo of fine-tuning a ViT for image classification based on the bean dataset classification') # FILL HERE