SalmanHabeeb commited on
Commit
556be06
·
1 Parent(s): e56e196

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def predict(img):
37
  image = gr.inputs.Image(shape=(200, 200))
38
  label = gr.outputs.Label()
39
  text = "<a color='#00FF00'>Keep the background dark and uniform for best results<a>"
40
- examples = ["Potato_late_blight.jpg", "frogeye_spots_apple_leaf.jpg", "apple_leaf.jpg"]
41
  examples = [os.path.join("images", example) for example in examples]
42
 
43
  interface = gr.Interface(fn=predict, inputs=image, outputs=label, examples=examples, description=text)
 
37
  image = gr.inputs.Image(shape=(200, 200))
38
  label = gr.outputs.Label()
39
  text = "<a color='#00FF00'>Keep the background dark and uniform for best results<a>"
40
+ examples = ["Potato_late_blight.jpg", "apple_black_rot.jpg", "apple_leaf.jpg"]
41
  examples = [os.path.join("images", example) for example in examples]
42
 
43
  interface = gr.Interface(fn=predict, inputs=image, outputs=label, examples=examples, description=text)