刘剑桥
commited on
Commit
•
683e10f
1
Parent(s):
7d20e97
fixed typo
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ def classify_image(img):
|
|
17 |
return dict(zip(categories, map(float,probs)))
|
18 |
|
19 |
# cell
|
20 |
-
image = gr.inputs.
|
21 |
label = gr.outputs.Label()
|
22 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
23 |
|
|
|
17 |
return dict(zip(categories, map(float,probs)))
|
18 |
|
19 |
# cell
|
20 |
+
image = gr.inputs.Image(shape=(192, 192))
|
21 |
label = gr.outputs.Label()
|
22 |
examples = ['dog.jpg', 'cat.jpg', 'dunno.jpg']
|
23 |
|