andresgtn commited on
Commit
c478e88
β€’
1 Parent(s): 69447b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -32,8 +32,10 @@ sample_images=[['https://s3.amazonaws.com/moonup/production/uploads/166393328435
32
  ['https://s3.amazonaws.com/moonup/production/uploads/1663933284374-611f9702593efbee33a4f7c9.png'],
33
  ['https://s3.amazonaws.com/moonup/production/uploads/1663933284412-611f9702593efbee33a4f7c9.png']]
34
 
 
 
35
  interface = gr.Interface(classify, gr.Image(shape=(200, 200)), 'label',
36
- examples=sample_images)
37
 
38
  #demo.launch()
39
  interface.launch(debug=False)
 
32
  ['https://s3.amazonaws.com/moonup/production/uploads/1663933284374-611f9702593efbee33a4f7c9.png'],
33
  ['https://s3.amazonaws.com/moonup/production/uploads/1663933284412-611f9702593efbee33a4f7c9.png']]
34
 
35
+ title = "Bean leaf disease classifier"
36
+ description = "Upload an image of a bean leaf to find out if it is diseased"
37
  interface = gr.Interface(classify, gr.Image(shape=(200, 200)), 'label',
38
+ examples=sample_images, title=title, description=description)
39
 
40
  #demo.launch()
41
  interface.launch(debug=False)