Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ def predict_image(img):
|
|
| 14 |
# label = gr.Label()
|
| 15 |
#intrfce = gr.Interface(fn=predict_image, inputs=image, outputs=label)
|
| 16 |
|
| 17 |
-
intrfce = gr.Interface(fn=
|
| 18 |
inputs=gr.Image(type="pil"),
|
| 19 |
outputs=gr.Label(num_top_classes=3)).launch()
|
| 20 |
|
|
|
|
| 14 |
# label = gr.Label()
|
| 15 |
#intrfce = gr.Interface(fn=predict_image, inputs=image, outputs=label)
|
| 16 |
|
| 17 |
+
intrfce = gr.Interface(fn=predict_image,
|
| 18 |
inputs=gr.Image(type="pil"),
|
| 19 |
outputs=gr.Label(num_top_classes=3)).launch()
|
| 20 |
|