fix examples
Browse files
app.py
CHANGED
@@ -12,6 +12,6 @@ def classify_image(img):
|
|
12 |
image = gr.inputs.Image(shape=(192, 192))
|
13 |
label = gr.outputs.Label()
|
14 |
|
15 |
-
|
16 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
17 |
intf.lounch(inline=False)
|
|
|
12 |
image = gr.inputs.Image(shape=(192, 192))
|
13 |
label = gr.outputs.Label()
|
14 |
|
15 |
+
examples = ['car1.jpg', 'car2.jpg', 'bicycle1.jpg', 'bicycle2.jpg', 'truck1.jpg', 'truck2.jpg']
|
16 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
17 |
intf.lounch(inline=False)
|