rm cached examples
Browse files
app.py
CHANGED
|
@@ -43,11 +43,12 @@ class GradioApp:
|
|
| 43 |
gr.Radio(choices=('Custom', 'Pretrained'), label='Available models')
|
| 44 |
],
|
| 45 |
outputs=gr.Label(num_top_classes=3, label='Model predictions'),
|
|
|
|
|
|
|
| 46 |
title='Plants Diseases Classification',
|
| 47 |
description=f'This model performs classification on images of leaves that are either healthy, \
|
| 48 |
have bean rust, or have an angular leaf spot. A vision transformer neural network architecture is used. \
|
| 49 |
The dataset can be downloaded from [Kaggle]({dataset_url}) and the source code is on [GitHub]({github_repo_url}).',
|
| 50 |
-
examples=examples_list
|
| 51 |
)
|
| 52 |
demo.launch()
|
| 53 |
|
|
|
|
| 43 |
gr.Radio(choices=('Custom', 'Pretrained'), label='Available models')
|
| 44 |
],
|
| 45 |
outputs=gr.Label(num_top_classes=3, label='Model predictions'),
|
| 46 |
+
examples=examples_list,
|
| 47 |
+
cache_examples=False,
|
| 48 |
title='Plants Diseases Classification',
|
| 49 |
description=f'This model performs classification on images of leaves that are either healthy, \
|
| 50 |
have bean rust, or have an angular leaf spot. A vision transformer neural network architecture is used. \
|
| 51 |
The dataset can be downloaded from [Kaggle]({dataset_url}) and the source code is on [GitHub]({github_repo_url}).',
|
|
|
|
| 52 |
)
|
| 53 |
demo.launch()
|
| 54 |
|