Added examples
Browse files- app.py +2 -1
- battery.jpeg +0 -0
- clothes.jpeg +0 -0
- plastic.jpg +0 -0
app.py
CHANGED
@@ -25,6 +25,7 @@ def predict_image(img):
|
|
25 |
image = gr.inputs.Image(shape=(224, 224))
|
26 |
label = gr.outputs.Label(num_top_classes=3)
|
27 |
article="<p style='text-align: center; font-weight:bold;'>Model based on the VGG-16 CNN</p>"
|
|
|
28 |
|
29 |
gr.Interface(fn=predict_image, inputs=image, title="Garbage Classifier VGG-16",
|
30 |
-
description="This is a Garbage Classification Model Trained using VGG-16 architecture. Deployed to Hugging Face using Gradio.", outputs=label, article=article, enable_queue=True, interpretation='default').launch(share="True")
|
|
|
25 |
image = gr.inputs.Image(shape=(224, 224))
|
26 |
label = gr.outputs.Label(num_top_classes=3)
|
27 |
article="<p style='text-align: center; font-weight:bold;'>Model based on the VGG-16 CNN</p>"
|
28 |
+
examples = ['battery.jpeg', 'clothes.jpeg', 'plastic.jpg']
|
29 |
|
30 |
gr.Interface(fn=predict_image, inputs=image, title="Garbage Classifier VGG-16",
|
31 |
+
description="This is a Garbage Classification Model Trained using VGG-16 architecture. Deployed to Hugging Face using Gradio.", outputs=label, examples=examples, article=article, enable_queue=True, interpretation='default').launch(share="True")
|
battery.jpeg
ADDED
![]() |
clothes.jpeg
ADDED
![]() |
plastic.jpg
ADDED
![]() |