Spaces:
Runtime error
Runtime error
Edvard Høiby commited on
fix image paths
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def classify_image(img):
|
|
| 17 |
|
| 18 |
image = gr.inputs.Image(shape=(192, 192))
|
| 19 |
label = gr.outputs.Label()
|
| 20 |
-
examples = ['dog.
|
| 21 |
|
| 22 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
| 23 |
intf.launch(inline=False)
|
|
|
|
| 17 |
|
| 18 |
image = gr.inputs.Image(shape=(192, 192))
|
| 19 |
label = gr.outputs.Label()
|
| 20 |
+
examples = ['dog.webp', 'cat.jpeg', 'both.jpeg']
|
| 21 |
|
| 22 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
| 23 |
intf.launch(inline=False)
|