Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,6 @@ label = gr.outputs.Label()
|
|
24 |
examples = ['dog.jpg', 'dog2.jpg', 'test3.jpg', 'test4.jpg', 'test5.jpg']
|
25 |
|
26 |
|
27 |
-
intf = gr.Interface(
|
28 |
intf.launch(inline=False)
|
29 |
|
|
|
24 |
examples = ['dog.jpg', 'dog2.jpg', 'test3.jpg', 'test4.jpg', 'test5.jpg']
|
25 |
|
26 |
|
27 |
+
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
28 |
intf.launch(inline=False)
|
29 |
|