jacquelinegrimm commited on
Commit
883a5f8
1 Parent(s): faaf551

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -28,8 +28,7 @@ def classify_image(img):
28
  return dict(zip(categories, map(float,probs)))
29
 
30
  #Creates a Gradio interface for image classification
31
- examples = ['PotatoHealthy1.jpeg', 'PotatoEarlyBlight1.jpeg', 'TomatoEarlyBlight2.jpeg',
32
- 'TomatoYellowCurlVirus2.jpeg', 'CornCommonRust2.jpeg', 'AppleScab1.jpeg',
33
- 'AppleCedarRust4.jpeg']
34
  intf = gr.Interface(fn=classify_image, inputs='image', outputs='label', examples=examples)
35
  intf.launch(inline=False)
 
28
  return dict(zip(categories, map(float,probs)))
29
 
30
  #Creates a Gradio interface for image classification
31
+ examples = ['PotatoHealthy1.jpeg', 'PotatoEarlyBlight1.jpeg', 'TomatoYellowCurlVirus2.jpeg',
32
+ 'CornCommonRust2.jpeg', 'AppleScab1.jpeg', 'AppleCedarRust4.jpeg']
 
33
  intf = gr.Interface(fn=classify_image, inputs='image', outputs='label', examples=examples)
34
  intf.launch(inline=False)