Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ def classify_image(img):
|
|
27 |
demo = gr.Interface(
|
28 |
fn=classify_image,
|
29 |
inputs=gr.Image(type="pil"),
|
30 |
-
outputs=[gr.Label(num_top_classes=len(class_labels)),
|
31 |
live=True
|
32 |
)
|
33 |
|
|
|
27 |
demo = gr.Interface(
|
28 |
fn=classify_image,
|
29 |
inputs=gr.Image(type="pil"),
|
30 |
+
outputs=[gr.Label(num_top_classes=len(class_labels)), gr.Number()],
|
31 |
live=True
|
32 |
)
|
33 |
|