Dinoking commited on
Commit
5ebbb6a
·
1 Parent(s): 3f50ce3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,8 +24,8 @@ def predict_image(img):
24
  image = gr.inputs.Image(shape=(224, 224))
25
  label = gr.outputs.Label(num_top_classes=3)
26
  article="<p style='text-align: center'>Made by Aditya Narendra with 🖤</p>"
27
- examples = ['battery.jpg','cardboard.jpeg','clothes.jpeg','metal.jpg','plastic.jpg','shoes.jpg']
28
 
29
 
30
  gr.Interface(fn=predict_image, inputs=image, title="Garbage Classifier V3",
31
- description="This is a Garbage Classification Model Trained using MobileNetV2.Deployed to Hugging Faces using Gradio.",outputs=label,examples=examples,article=article,interpretation='default').launch(share="True")
 
24
  image = gr.inputs.Image(shape=(224, 224))
25
  label = gr.outputs.Label(num_top_classes=3)
26
  article="<p style='text-align: center'>Made by Aditya Narendra with 🖤</p>"
27
+ examples = ['battery.jpeg','cardboard.jpeg','clothes.jpeg','metal.jpg','plastic.jpg','shoes.jpg']
28
 
29
 
30
  gr.Interface(fn=predict_image, inputs=image, title="Garbage Classifier V3",
31
+ description="This is a Garbage Classification Model Trained using MobileNetV2.Deployed to Hugging Faces using Gradio.",outputs=label,examples=examples,article=article,enable_queue=True,interpretation='default').launch(share="True")