Update app.py
Browse files
app.py
CHANGED
@@ -65,6 +65,9 @@ gr.Image(pathlib.Path('images/Healthy.png'),label = 'Healthy Plant')
|
|
65 |
|
66 |
gr.Image(pathlib.Path('images/sickie.png'),label = 'Infected Plant')
|
67 |
|
|
|
|
|
|
|
68 |
description = """
|
69 |
This Plant Health classifier app was built to detect the health of plants using images of leaves by fine-tuning a Vision Transformer (ViT) [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the [Beans](https://huggingface.co/datasets/beans) dataset.
|
70 |
The finetuned model has an accuracy of 98.4% on the test (unseen) dataset and 100% on the validation dataset.
|
|
|
65 |
|
66 |
gr.Image(pathlib.Path('images/sickie.png'),label = 'Infected Plant')
|
67 |
|
68 |
+
from IPython.display import display, Image
|
69 |
+
display(Image(filename=pathlib.Path('images/sickie.png')))
|
70 |
+
|
71 |
description = """
|
72 |
This Plant Health classifier app was built to detect the health of plants using images of leaves by fine-tuning a Vision Transformer (ViT) [google/vit-base-patch16-224](https://huggingface.co/google/vit-base-patch16-224) on the [Beans](https://huggingface.co/datasets/beans) dataset.
|
73 |
The finetuned model has an accuracy of 98.4% on the test (unseen) dataset and 100% on the validation dataset.
|