nickmuchi commited on
Commit
73f1472
1 Parent(s): 201e66b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -61,9 +61,9 @@ def set_example_url(example: list) -> dict:
61
 
62
  title = """<h1 id="title">Plant Health Classification with ViT</h1>"""
63
 
64
- gr.Image('images/Healthy.png',label = 'Healthy Plant')
65
 
66
- gr.Image('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.
 
61
 
62
  title = """<h1 id="title">Plant Health Classification with ViT</h1>"""
63
 
64
+ 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.