Spaces:
Sleeping
Sleeping
yvesnewman
commited on
Commit
·
89bfb09
1
Parent(s):
78b08ac
Upload app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def classify_image(img):
|
|
14 |
return dict(zip(categories, map(float, probs)))
|
15 |
|
16 |
# cell
|
17 |
-
image = gr.
|
18 |
label = gr.outputs.Label()
|
19 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
20 |
|
|
|
14 |
return dict(zip(categories, map(float, probs)))
|
15 |
|
16 |
# cell
|
17 |
+
image = gr.Image(shape=(192, 192))
|
18 |
label = gr.outputs.Label()
|
19 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
20 |
|