Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def classify_image(inp):
|
|
14 |
return confidences
|
15 |
|
16 |
demo = gr.Interface(fn=classify_image,
|
17 |
-
inputs=gr.Image(
|
18 |
outputs=gr.Label(num_top_classes=3),
|
19 |
)
|
20 |
|
|
|
14 |
return confidences
|
15 |
|
16 |
demo = gr.Interface(fn=classify_image,
|
17 |
+
inputs=gr.Image(type="pil"),
|
18 |
outputs=gr.Label(num_top_classes=3),
|
19 |
)
|
20 |
|