Spaces:
Runtime error
Runtime error
more cats as examples
Browse files- app.py +1 -1
- cat.4764.jpg +3 -0
- cat.4782.jpg +3 -0
app.py
CHANGED
@@ -20,7 +20,7 @@ def classify_image(img):
|
|
20 |
|
21 |
image = gr.inputs.Image(shape=(192,192))
|
22 |
label = gr.outputs.Label()
|
23 |
-
examples = ['img_20180720_163054.jpg', 'img_20210614_141029.jpg', 'img_20210614_140945.jpg', 'img_20210613_193627.jpg', 'img_20210613_184022.jpg']
|
24 |
|
25 |
iface = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
26 |
iface.launch()
|
|
|
20 |
|
21 |
image = gr.inputs.Image(shape=(192,192))
|
22 |
label = gr.outputs.Label()
|
23 |
+
examples = ['img_20180720_163054.jpg', 'img_20210614_141029.jpg', 'img_20210614_140945.jpg', 'img_20210613_193627.jpg', 'img_20210613_184022.jpg', 'cat.4764.jpg', 'cat.4782.jpg']
|
24 |
|
25 |
iface = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
26 |
iface.launch()
|
cat.4764.jpg
ADDED
![]() |
Git LFS Details
|
cat.4782.jpg
ADDED
![]() |
Git LFS Details
|