Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -26,5 +26,5 @@ image= gr.inputs.Image(shape=(192, 192))
|
|
26 |
label = gr.outputs.Label()
|
27 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
28 |
|
29 |
-
intf = gr.Interface(
|
30 |
intf.launch(inline=False)
|
|
|
26 |
label = gr.outputs.Label()
|
27 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
28 |
|
29 |
+
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
30 |
intf.launch(inline=False)
|