Spaces:
Runtime error
Runtime error
Anders
commited on
Commit
·
70956a7
1
Parent(s):
b7de0a4
Add more examples to app
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def image_classifier(im):
|
|
| 12 |
|
| 13 |
input = gr.inputs.Image(shape=(192, 192))
|
| 14 |
output = gr.outputs.Label()
|
| 15 |
-
examples = ["dog1.jpeg", "dog2.jpeg", "cat.jpeg"]
|
| 16 |
|
| 17 |
interface = gr.Interface(fn=image_classifier, inputs=input, outputs=output, examples=examples)
|
| 18 |
interface.launch()
|
|
|
|
| 12 |
|
| 13 |
input = gr.inputs.Image(shape=(192, 192))
|
| 14 |
output = gr.outputs.Label()
|
| 15 |
+
examples = ["dog1.jpeg", "dog2.jpeg", "cat.jpeg", "catdog.jpeg", "otter.jpeg"]
|
| 16 |
|
| 17 |
interface = gr.Interface(fn=image_classifier, inputs=input, outputs=output, examples=examples)
|
| 18 |
interface.launch()
|