提交
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def classify_image(img):
|
|
| 15 |
|
| 16 |
image = gr.inputs.Image(shape=(192,192))
|
| 17 |
label = gr.outputs.Label()
|
| 18 |
-
examples = ['
|
| 19 |
|
| 20 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
| 21 |
intf.launch(inline=False)
|
|
|
|
| 15 |
|
| 16 |
image = gr.inputs.Image(shape=(192,192))
|
| 17 |
label = gr.outputs.Label()
|
| 18 |
+
examples = ['cat.jpg', 'dog.png']
|
| 19 |
|
| 20 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
| 21 |
intf.launch(inline=False)
|