Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,5 +16,5 @@ image = gr.inputs.Image(shape=(192, 192))
|
|
16 |
label = gr.outputs.Label()
|
17 |
examples = ['puma.jpg', 'tiger.jpg', 'lion.jpg']
|
18 |
|
19 |
-
intf = gr.Interface(fn=classify_image, inputs=
|
20 |
intf.launch(inline=False)
|
|
|
16 |
label = gr.outputs.Label()
|
17 |
examples = ['puma.jpg', 'tiger.jpg', 'lion.jpg']
|
18 |
|
19 |
+
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
20 |
intf.launch(inline=False)
|