suddu21 commited on
Commit
7e28163
β€’
1 Parent(s): ec8c372

Added examples

Browse files
Files changed (4) hide show
  1. app.py +2 -1
  2. battery.jpeg +0 -0
  3. clothes.jpeg +0 -0
  4. 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