Spaces:
Sleeping
Sleeping
Chong-U Lim
commited on
Commit
·
970a523
1
Parent(s):
c2a1944
Update 2
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def classify_image(img):
|
|
13 |
pred, idx, probs = learn.predict(img)
|
14 |
return dict(zip(categories, map(float, probs)))
|
15 |
|
16 |
-
image = gr.components.Image(
|
17 |
label = gr.components.label()
|
18 |
|
19 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
|
|
13 |
pred, idx, probs = learn.predict(img)
|
14 |
return dict(zip(categories, map(float, probs)))
|
15 |
|
16 |
+
image = gr.components.Image(height=192, width=192)
|
17 |
label = gr.components.label()
|
18 |
|
19 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|