Spaces:
Runtime error
Runtime error
no examples
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def classify_image(img):
|
|
| 21 |
|
| 22 |
# image = gr.inputs.Image(shape=(192,192))
|
| 23 |
# label = gr.outputs.Label()
|
| 24 |
-
examples = ['examples/black.jpg', 'examples/grizzly.jpg', 'examples/teddy.jpg']
|
| 25 |
|
| 26 |
-
interface = gr.Interface(fn=classify_image, inputs="image", outputs="label"
|
| 27 |
interface.launch(inline=False)
|
|
|
|
| 21 |
|
| 22 |
# image = gr.inputs.Image(shape=(192,192))
|
| 23 |
# label = gr.outputs.Label()
|
| 24 |
+
# examples = ['examples/black.jpg', 'examples/grizzly.jpg', 'examples/teddy.jpg']
|
| 25 |
|
| 26 |
+
interface = gr.Interface(fn=classify_image, inputs="image", outputs="label")
|
| 27 |
interface.launch(inline=False)
|