Spaces:
Build error
Build error
Commit ·
acdcffc
1
Parent(s): 3863293
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,8 +14,8 @@ def classify_image(img):
|
|
| 14 |
pred, idx, probs = learn.predict(img)
|
| 15 |
return dict(zip(categories, map(float, probs)))
|
| 16 |
|
| 17 |
-
image=gr.
|
| 18 |
-
label = gr.
|
| 19 |
examples = ['Ronan_Grizzly_Bear_1.jpg','blackbear.jpg',
|
| 20 |
'blackbear2.jpg','brownbear.jpg',
|
| 21 |
'polar.jpg']
|
|
|
|
| 14 |
pred, idx, probs = learn.predict(img)
|
| 15 |
return dict(zip(categories, map(float, probs)))
|
| 16 |
|
| 17 |
+
image=gr.Image(height = 192, width = 192)
|
| 18 |
+
label = gr.Label()
|
| 19 |
examples = ['Ronan_Grizzly_Bear_1.jpg','blackbear.jpg',
|
| 20 |
'blackbear2.jpg','brownbear.jpg',
|
| 21 |
'polar.jpg']
|