nickmuchi commited on
Commit
f9e35c4
1 Parent(s): f38c433

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -62,12 +62,7 @@ def set_example_url(example: list) -> dict:
62
 
63
  title = """<h1 id="title">Plant Health Classification with ViT</h1>"""
64
 
65
- gr.Image(pathlib.Path('images/Healthy.png'),label = 'Healthy Plant')
66
-
67
- gr.Image(pathlib.Path('images/sickie.png'),label = 'Infected Plant')
68
-
69
- from IPython.display import display, Image
70
- display(Image(filename=pathlib.Path('images/sickie.png')))
71
 
72
  description = """
73
  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.
 
62
 
63
  title = """<h1 id="title">Plant Health Classification with ViT</h1>"""
64
 
65
+ gr.Markdown('''![alt text](images/sickie.png "Title")''')
 
 
 
 
 
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.