Spaces:
Build error
Build error
Update app.py
Browse files
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.
|
| 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")
|