Spaces:
Sleeping
Sleeping
Commit
·
de55df6
1
Parent(s):
1774943
Adding images/grizzly_black.jpg
Browse files- app.ipynb +1 -0
- app.py +1 -0
- images/grizzly_black.jpg +0 -0
app.ipynb
CHANGED
@@ -351,6 +351,7 @@
|
|
351 |
"image = gr.Image(width=192, height=192)\n",
|
352 |
"label = gr.Label()\n",
|
353 |
"examples = ['images/grizzly.jpg', 'images/black.jpg', 'images/teddy.jpg',\n",
|
|
|
354 |
" 'images/text.png', 'images/einstein.png', 'images/dunno.jpg']\n",
|
355 |
"\n",
|
356 |
"intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)\n",
|
|
|
351 |
"image = gr.Image(width=192, height=192)\n",
|
352 |
"label = gr.Label()\n",
|
353 |
"examples = ['images/grizzly.jpg', 'images/black.jpg', 'images/teddy.jpg',\n",
|
354 |
+
" 'images/grizzly_black.jpg',\n",
|
355 |
" 'images/text.png', 'images/einstein.png', 'images/dunno.jpg']\n",
|
356 |
"\n",
|
357 |
"intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)\n",
|
app.py
CHANGED
@@ -31,6 +31,7 @@ def classify_image(im):
|
|
31 |
image = gr.Image(width=192, height=192)
|
32 |
label = gr.Label()
|
33 |
examples = ['images/grizzly.jpg', 'images/black.jpg', 'images/teddy.jpg',
|
|
|
34 |
'images/text.png', 'images/einstein.png', 'images/dunno.jpg']
|
35 |
|
36 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
|
|
31 |
image = gr.Image(width=192, height=192)
|
32 |
label = gr.Label()
|
33 |
examples = ['images/grizzly.jpg', 'images/black.jpg', 'images/teddy.jpg',
|
34 |
+
'images/grizzly_black.jpg',
|
35 |
'images/text.png', 'images/einstein.png', 'images/dunno.jpg']
|
36 |
|
37 |
intf = gr.Interface(fn=classify_image, inputs=image, outputs=label, examples=examples)
|
images/grizzly_black.jpg
ADDED
![]() |