dnth commited on
Commit
e9e3c2c
1 Parent(s): 2b3f40d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -15,11 +15,11 @@ for root, dirs, files in os.walk(r'sample_images/'):
15
  for filename in files:
16
  print(filename)
17
 
18
- title = "Pet Breed Classifier"
19
- description = "A pet breed classifier trained on the Oxford Pets dataset"
20
  interpretation='default'
21
  examples = ["sample_images/"+file for file in files]
22
- article="<p style='text-align: center'><a href='https://dicksonneoh.com/pet-classifier/' target='_blank'>Blog post</a></p>"
23
  enable_queue=True
24
 
25
- gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(512, 512)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()
 
15
  for filename in files:
16
  print(filename)
17
 
18
+ title = "Rice Disease Classifier"
19
+ description = "A rice disease classifier that can detect 3 diseases - blast, blight, tungro"
20
  interpretation='default'
21
  examples = ["sample_images/"+file for file in files]
22
+ article="<p style='text-align: center'><a href='https://dicksonneoh.com/' target='_blank'>Blog post</a></p>"
23
  enable_queue=True
24
 
25
+ gr.Interface(fn=predict,inputs=gr.inputs.Image(shape=(384, 384)),outputs=gr.outputs.Label(num_top_classes=3),title=title,description=description,article=article,examples=examples,interpretation=interpretation,enable_queue=enable_queue).launch()