Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -22,10 +22,10 @@ def predict_image(img):
|
|
| 22 |
|
| 23 |
|
| 24 |
image = gr.inputs.Image(shape=(224, 224))
|
| 25 |
-
label = gr.outputs.Label(num_top_classes=
|
| 26 |
article="<p style='text-align: center'>Made by Aditya Narendra with 🖤</p>"
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
-
gr.Interface(fn=predict_image, inputs=image, title="Garbage Classifier
|
| 31 |
-
description="This is a Garbage Classification Model Trained using
|
|
|
|
| 22 |
|
| 23 |
|
| 24 |
image = gr.inputs.Image(shape=(224, 224))
|
| 25 |
+
label = gr.outputs.Label(num_top_classes=2)
|
| 26 |
article="<p style='text-align: center'>Made by Aditya Narendra with 🖤</p>"
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
+
gr.Interface(fn=predict_image, inputs=image, title="Garbage Classifier V4-VGG16+SVM",
|
| 31 |
+
description="This is a Garbage Classification Model Trained using VGG16+SVM(20 Epochs).Deployed to Hugging Faces using Gradio.",outputs=label,article=article,enable_queue=True,interpretation='default').launch(share="True")
|