Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -62,8 +62,6 @@ def set_example_url(example: list) -> dict:
|
|
62 |
|
63 |
title = """<h1 id="title">Plant Health Classification with ViT</h1>"""
|
64 |
|
65 |
-
gr.Markdown('''''')
|
66 |
-
|
67 |
description = """
|
68 |
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.
|
69 |
The finetuned model has an accuracy of 98.4% on the test (unseen) dataset and 100% on the validation dataset.
|
@@ -92,6 +90,7 @@ demo = gr.Blocks(css=css)
|
|
92 |
|
93 |
with demo:
|
94 |
gr.Markdown(title)
|
|
|
95 |
gr.Markdown(description)
|
96 |
gr.Markdown(twitter_link)
|
97 |
|
|
|
62 |
|
63 |
title = """<h1 id="title">Plant Health Classification with ViT</h1>"""
|
64 |
|
|
|
|
|
65 |
description = """
|
66 |
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.
|
67 |
The finetuned model has an accuracy of 98.4% on the test (unseen) dataset and 100% on the validation dataset.
|
|
|
90 |
|
91 |
with demo:
|
92 |
gr.Markdown(title)
|
93 |
+
gr.Image('image/Healthy.png',label = 'Healthy')
|
94 |
gr.Markdown(description)
|
95 |
gr.Markdown(twitter_link)
|
96 |
|