Spaces:
Build error
Build error
add gradio interface
Browse files
app.py
CHANGED
|
@@ -14,4 +14,6 @@ def predict(img):
|
|
| 14 |
|
| 15 |
title = "Fruit Classifier"
|
| 16 |
|
|
|
|
|
|
|
| 17 |
|
|
|
|
| 14 |
|
| 15 |
title = "Fruit Classifier"
|
| 16 |
|
| 17 |
+
gr.Interface(fn=predict, inputs=gr.inputs.Image(shape=(512,512)), outputs=gr.outputs.Label(num_top_classes=6), title=title)
|
| 18 |
+
|
| 19 |
|