Commit
·
4689e4d
1
Parent(s):
31e9c70
updating
Browse files
app.py
CHANGED
@@ -13,8 +13,7 @@ def predict(img):
|
|
13 |
title = "Soybean desease Classifier"
|
14 |
description = "A Soybean desease classifier trained with "
|
15 |
article="<p style='text-align: center'><a href='https://www.kaggle.com/lucaskishima/soybeandeseaseclassifier/' target='_blank'>Blog post</a></p>"
|
16 |
-
examples = ['examples/bacterial_blight.jpg','examples/cercospora_leaf_blight.jpg','examples/healthy.jpg','examples/septoria_glycines.jpg','examples/soybean_rust.jpg']
|
17 |
interpretation='default'
|
18 |
enable_queue=True
|
19 |
|
20 |
-
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,
|
|
|
13 |
title = "Soybean desease Classifier"
|
14 |
description = "A Soybean desease classifier trained with "
|
15 |
article="<p style='text-align: center'><a href='https://www.kaggle.com/lucaskishima/soybeandeseaseclassifier/' target='_blank'>Blog post</a></p>"
|
|
|
16 |
interpretation='default'
|
17 |
enable_queue=True
|
18 |
|
19 |
+
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,interpretation=interpretation,enable_queue=enable_queue).launch(share=False)
|